Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

One Click Install instructions no longer work #1361

Open
dnmfarrell opened this issue Mar 31, 2022 · 4 comments
Open

One Click Install instructions no longer work #1361

dnmfarrell opened this issue Mar 31, 2022 · 4 comments

Comments

@dnmfarrell
Copy link

dnmfarrell commented Mar 31, 2022

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.

@bishabosha
Copy link
Member

bishabosha commented Mar 31, 2022

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

@dnmfarrell
Copy link
Author

dnmfarrell commented Apr 1, 2022

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.

@kevin-lee
Copy link

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

@bishabosha
Copy link
Member

bishabosha commented Apr 14, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants