Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Vosmaer <jacob@gitlab.com>2017-08-03 14:44:09 +0300
committerJacob Vosmaer <jacob@gitlab.com>2017-08-03 14:44:09 +0300
commit6c95abf1734bf7bcfb52a9be28837b99a6a7cf8c (patch)
tree970f5bfffab454dd40b71abc8552e5ff9fb51449 /doc/install
parent23c502b43404aa70741462da5d57c23196f6088a (diff)
Install 'yarn' globally to avoid PATH issues
Diffstat (limited to 'doc/install')
-rw-r--r--doc/install/installation.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/install/installation.md b/doc/install/installation.md
index 8ded607bcab..769c1fd3664 100644
--- a/doc/install/installation.md
+++ b/doc/install/installation.md
@@ -168,8 +168,10 @@ are out of date, so we'll need to install through the following commands:
curl --location https://deb.nodesource.com/setup_7.x | sudo bash -
sudo apt-get install -y nodejs
- # install yarn
- curl --location https://yarnpkg.com/install.sh | bash -
+ curl -sS 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
Visit the official websites for [node](https://nodejs.org/en/download/package-manager/) and [yarn](https://yarnpkg.com/en/docs/install/) if you have any trouble with these steps.