Created
June 21, 2018 09:39
-
-
Save zxh/549f545655de2147e2217f195ca08a64 to your computer and use it in GitHub Desktop.
change scala version via brew
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# show all scala versions | |
brew search scala | |
# install specific version, maybe scala 2.11 | |
brew install [email protected] | |
# unlink current scala version | |
brew unlink scala | |
# link new scala version | |
brew link [email protected] --force | |
# check result | |
scala -version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
thanks...Spend half day solving this problem.