![]() ![]() Should I install Scala itself? sbt? Some other build tools? What about a better REPL like Ammonite? Oh and before all that I need to install Java? Installing Scala has always been a task more challenging than necessary, with the potential to drive away beginners. For example, on Linux, all we now need is: To solve this problem, the Scala Center contracted Alexandre Archambault in January 2020 to add a one-click install of Scala through coursier. The key concept to understand is the difference between system-wide installation and project-specific version. ![]() System-wide installation ends up somewhere on the PATH like /usr/local/bin/scalaĪnd can be installed in various ways, personally I recommend coursier one-click install for Scala curl -Lo cs & chmod +x cs &. ![]() Project-specific version is specified by scalaVersion sbt settings which downloads Scala to coursier cache location. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |