Skip to content

Commit

Permalink
Documentation: describe new coursier installation
Browse files Browse the repository at this point in the history
  • Loading branch information
kitbellew committed May 9, 2020
1 parent 5cc9cae commit 45d89ec
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,9 +211,20 @@ To install Coursier see
<a href="https://get-coursier.io/docs/cli-installation" target="_blank">here</a>
</div>

#### install

If you're using a recent version of `coursier` which supports direct
[installation](https://get-coursier.io/docs/cli-overview.html#install)
of packages, the simplest approach is by running

```sh
cs install scalafmt
scalafmt --version # should be @STABLE_VERSION@
```

#### standalone

You can create a complete standalone executable with:
Alternatively, you can create a complete standalone executable with:

```sh
coursier bootstrap org.scalameta:scalafmt-cli_2.13:@STABLE_VERSION@ \
Expand Down

0 comments on commit 45d89ec

Please sign in to comment.