scala-lang icon indicating copy to clipboard operation
scala-lang copied to clipboard

One Click Install instructions no longer work

Open dnmfarrell opened this issue 3 years ago • 4 comments

As documented here: https://www.scala-lang.org/2020/06/29/one-click-install.html

Fails with Error downloading gz+https://github.com/coursier/coursier/releases/download/v2.1.0-M5-18-gfebf9838c/cs-x86_64-pc-linux.gz. It seems the client is unable to handle gzipped content? This is described in an issue on the coursier repo.

The fix for me was to run:

curl -fL https://github.com/coursier/launchers/raw/master/cs-x86_64-pc-linux.gz | gzip -d > cs
chmod +x cs
./cs setup

But these instructions are Linux specific.

dnmfarrell avatar Mar 31 '22 20:03 dnmfarrell

do the instructions at https://docs.scala-lang.org/getting-started/index.html work for you? (if you delete all cs stuff first) - we should update this blog anyway as it still mentions git.io links

bishabosha avatar Mar 31 '22 20:03 bishabosha

Yes they do - but note the linked page on this line:

Follow the instructions to install the cs launcher then run:

Already instructs the user to run ./cs setup. So you could probably drop the duplicate ./cs setup command from getting-started/index.html.

dnmfarrell avatar Apr 01 '22 13:04 dnmfarrell

I've added the one-line command to install Coursier that works for both macOS and Linux here.

kevin-lee avatar Apr 14 '22 14:04 kevin-lee

Yes they do - but note the linked page on this line:

Follow the instructions to install the cs launcher then run:

Already instructs the user to run ./cs setup. So you could probably drop the duplicate ./cs setup command from getting-started/index.html.

ok so on the get-started guide there is javascript that is meant to detect your OS setup and provide specialised install instructions, however it seems you have received the default instructions that link to the Coursier website - we should probably use a tabbed design to show all options.

bishabosha avatar Apr 14 '22 15:04 bishabosha

Closing as we now have the tabbed design

bishabosha avatar Jun 25 '24 11:06 bishabosha