了解如何在本地安装 Batch Script,以便在自己的电脑上完成 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