Skip to content

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.


```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

@bishabosha bishabosha Apr 14, 2022

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