Skip to content

Commit

Permalink
Add docs for using the --version flag with the installation script …
Browse files Browse the repository at this point in the history
…(#273)

* Add docs for using the `--version` flag with the installation script

Document how to use the changes per yarnpkg/yarn#1928

* Actually pass arguments to the script rather than curl
  • Loading branch information
lovelypuppy0607 committed Nov 18, 2016
1 parent cac3cc1 commit 9f441f8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions en/docs/_installations/tarball.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@ your terminal:
curl -o- -L https://yarnpkg.com/install.sh | bash
```

You can also specify a version by running the following code in your terminal:

```sh
curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version [version]
```

See [the releases](https://github.com/yarnpkg/yarn/releases) for possible versions.

#### Manual Install via tarball

You can install Yarn by [downloading a tarball]({{site.baseurl}}/latest.tar.gz) and
Expand Down

0 comments on commit 9f441f8

Please sign in to comment.