作用homebrew命令进行安装
终端:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
(如果缺权限,提前输入 sudo chmod -R g+w /usr/local)
如果超时:
/usr/bin/ruby -e \
"$(curl -fsSL https://raw.github.cnpmjs.org/Homebrew/install/master/install)"安装后更新brew仓库:brew update
brew install scala
提示安装完成:
检查安装结果:
常用语句:
brew search SoftwareName
brew install SoftwareName
brew remove SoftwareNam