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

Fix #1361 - Update one click link that works for both macOS and Linux #1368

Conversation

kevin-lee
Copy link

Fix #1361 - Update one click link that works for both macOS and Linux
I've tested it on macOS 12.3.1 (Monterey) and Ubuntu Linux 18.04.

@@ -12,7 +12,7 @@ To solve this problem, the Scala Center contracted Alexandre Archambault in Janu
For example, on Linux, all we now need is:

```bash
$ curl -Lo cs https://git.io/coursier-cli-linux && chmod +x cs && ./cs setup
$ curl -fL "$(curl -w "%{url_effective}\n" -I -L -s -S https://git.io/coursier-cli-"$(uname | tr LD ld)" -o /dev/null).gz" | gzip -d > cs && chmod +x cs && ./cs setup
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should I add && rm cs at the end since cs setup installs cs.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the git.io links were deprecated by the Coursier maintainers, so this isn't recommended anymore

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh! I didn't know that. Thanks! I shouldn't have spent time on figuring out curl -w "%{url_effective}\n" -I -L -s -S https://git.io/coursier-cli-"$(uname | tr LD ld)" -o /dev/null then. 😂

@kevin-lee kevin-lee closed this Apr 14, 2022
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 this pull request may close these issues.

One Click Install instructions no longer work
2 participants