了解如何在本機安裝 Batch 腳本,讓你能在自己的電腦上解 Exercism 的練習
你使用的是 Windows 作業系統嗎?
按下Windows Key,輸入cmd,然後按下enter。
如果你的作業系統是 Windows,代表你的系統上已經安裝了 Batch。
如果你使用不同的作業系統,可以依照下方的指示安裝 Batch。
brew install --cask --no-quarantine wine-stable
sudo dpkg --add-architecture i386
sudo mkdir -pm755 /etc/apt/keyrings
sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
sudo apt update
sudo apt install --install-recommends winehq-stable
sudo dpkg --add-architecture i386
sudo mkdir -pm755 /etc/apt/keyrings
sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
sudo apt update
sudo apt install --install-recommends winehq-stable
# Fedore 39
dnf config-manager --add-repo https://dl.winehq.org/wine-builds/fedora/39/winehq.repo
# Fedora 40
dnf config-manager --add-repo https://dl.winehq.org/wine-builds/fedora/40/winehq.repo
dnf install winehq-stable