scala/scala-lang

Download doesn't explain how to just get scala working using a jar tarball

Opened this issue · 2 comments

https://www.scala-lang.org/download/3.7.1.html

Released June 4, 2025. See all releases.

Scala binaries for 3.7.1 are available at github.

Release Notes
For a summary of important changes, see the GitHub release notes.

Ways to Install This Release
Using Coursier CLI, run:
cs install scala:3.7.1 && cs install scalac:3.7.1
Download the Scala binaries for 3.7.1 at github.
Need help running the binaries?
You can also install Scala 3.7.1 with Chocolatey by running the following command:
choco install scala --version=3.7.1
Using SDKMAN!, you can easily install the latest version of Scala on any platform by running the following command:
sdk install scala 3.7.1
On macOS you can also use Homebrew and run the following commands:
brew update
brew install scala


Need help running the binaries?

https://www.scala-lang.org/download/install.html

To run Scala from the command-line, download the binaries and unpack the archive.

Start the Scala interpreter (aka the “REPL”) by launching scala from where it was unarchived. Start the Scala compiler by launching scalac from where it was unarchived.

Great, so where does download take me? ... I'll cover that in the next ticket. But only because I need to file this ticket so I can reference it there.

Would you expect the exact instruction to be something like:

Unpack the archive specific to your system architecture and run bin/scala located within the archive. 

something along those lines?

Something. Note that it isn't really "specific to my system architecture" -- that would lead me to things like the .msi file or trying to figure out what my system's architecture files are. It's really:

Expand the "scala-version.tar.gz" file or "scala-version.zip" (if you are on Windows), go into the expanded folder, and run bin/scala [repl] to run scala. You can add the path for that bin directory to your PATH to let other programs use scala and scalac.

I'm adding the last sentence but I'm not sure it's even right. I don't know, and really don't claim to know. But, if it's right, it should be mentioned.