Description
https://www.scala-lang.org/download/
Run the following command in your terminal, following the on-screen instructions.
On the x86-64 architecture:
curl -fL https://github.com/coursier/coursier/releases/latest/download/cs-x86_64-pc-linux.gz | gzip -d > cs && chmod +x cs && ./cs setup
Otherwise, on the ARM64 architecture:
curl -fL https://github.com/VirtusLab/coursier-m1/releases/latest/download/cs-aarch
Other ways to install Scala
Pick a specific release
This page contains a comprehensive archive of previous Scala releases.
Current Releases
Current 3.7.x release: 3.7.1
Released on June 4, 2025
https://www.scala-lang.org/download/3.7.1.html
And that last one is a circular loop to this one!
For the curious, it is definitely possible to install scala on alpine.
Hand waving steps:
- install java (some hand waving for this step, I used
cs
which is referenced in bugs above to get it, but you can also usedocker run -it --platform linux/arm64 --entrypoint bash eclipse-temurin
amongst other things) curl -o https://github.com/scala/scala3/releases/download/3.7.1/scala3-3.7.1.tar.gz
tar zxf scala3-3.7.1.tar.gz
./scala3-3.7.1/bin/scala
- wait a bit