coursier icon indicating copy to clipboard operation
coursier copied to clipboard

Installation instructions should be simpler

Open julienrf opened this issue 4 years ago • 1 comments

The installation instructions show the following complete procedure:

$ curl -fLo cs https://git.io/coursier-cli-"$(uname | tr LD ld)"
$ chmod +x cs
$ ./cs install cs
$ rm cs

Would it be possible to cut them to something just like the following?

$ curl -s "https://git.io/coursier-cli" | bash

julienrf avatar Oct 04 '21 09:10 julienrf

I agree it would be great to have such a script. The Scala CLI scripts scala-setup.sh and scala-cli.sh can be used as a source of inspiration (the Scala CLI and coursier launchers are now packaged in very similar ways).

Note that the installation instructions slightly changed recently, this is already reflected on the website.

(Also, I had made this some time ago, installing cs in the current directory, but it's less handy, and it relies on non-compressed coursier launchers, which are not pushed any more, so it's deprecated too.)

alexarchambault avatar Feb 01 '22 09:02 alexarchambault