One Click Install instructions no longer work
dnmfarrell opened this issue · 5 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.
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
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.
I've added the one-line command to install Coursier that works for both macOS and Linux here.
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 setupcommand 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.
Closing as we now have the tabbed design