summaryrefslogtreecommitdiff
path: root/doc/update/9.0-to-9.1.md
diff options
context:
space:
mode:
authorJacob Vosmaer <jacob@gitlab.com>2017-08-04 11:19:20 +0200
committerJacob Vosmaer <jacob@gitlab.com>2017-08-04 11:19:20 +0200
commitcb36c3b288a034ad4a1682d4b9d5d631f10930da (patch)
tree4adcc5eef4b0bb44bffb152c76b36e9a68c670db /doc/update/9.0-to-9.1.md
parent3120b463a8517516d593cb8c31cf5f63c008dee9 (diff)
downloadgitlab-ce-cb36c3b288a034ad4a1682d4b9d5d631f10930da.tar.gz
Install yarn via apt in update guides
Diffstat (limited to 'doc/update/9.0-to-9.1.md')
-rw-r--r--doc/update/9.0-to-9.1.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/update/9.0-to-9.1.md b/doc/update/9.0-to-9.1.md
index 2d597894517..2b4a7bed27f 100644
--- a/doc/update/9.0-to-9.1.md
+++ b/doc/update/9.0-to-9.1.md
@@ -65,7 +65,10 @@ Since 8.17, GitLab requires the use of yarn `>= v0.17.0` to manage
JavaScript dependencies.
```bash
-curl --location https://yarnpkg.com/install.sh | bash -
+curl --silent --show-error https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
+echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
+sudo apt-get update
+sudo apt-get install yarn
```
More information can be found on the [yarn website](https://yarnpkg.com/en/docs/install).