---恢复内容开始---
1.访问scala的官网这里下载最新版的scala。
2.解压缩文件包,可将其移动至/usr/local/share下
/usr/local/share
1
mv /download/scalapath /usr/local/share
3.修改环境变量,在mac下使用sudo su进入管理员权限,修改配置文件profile,
sudo su
vim /etc/profile
在文件的末尾加入
export PATH="$PATH:/usr/local/share/scala/bin"
:wq!保存退出,重启终端,完成scala的配置安装。
:wq!
---恢复内容结束---