curl -O https://download.clojure.org/install/linux-install-1.10.2.774.sh
chmod +x linux-install-1.10.2.774.sh
sudo ./linux-install-1.10.2.774.sh
安装程序将创建命令
/usr/local/bin/clojure, /usr/local/bin/clj wrapper
和 /usr/local/lib/clojure 目录.
推荐使用以管理员运行Powershell,然后运行下面命令
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser -Force
iwr -useb get.scoop.sh | iex
Initializing...
Downloading scoop...
Extracting...
Creating shim...
Downloading main bucket...
Extracting...
Adding ~\scoop\shims to your path.
'lastupdate' has been set to '2021-04-20T09:19:22.8505824+08:00'
Scoop was installed successfully!
Type 'scoop help' for instructions.
推荐使用Homebrew安装
brew install clojure/tools/clojure
clojure -Sdescribe
确认 Clojure 命令行界面工具是否已经安装成功,以及安装的版本。