Commit 44f74c8d authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Merge branch 'docs-yarn-installation' into 'master'

Use the official Yarn installation on installation guide

See merge request gitlab-org/gitlab!60372
parents 24504230 0356d6ac
...@@ -276,10 +276,7 @@ we need to install through the following commands: ...@@ -276,10 +276,7 @@ we need to install through the following commands:
curl --location "https://deb.nodesource.com/setup_14.x" | sudo bash - curl --location "https://deb.nodesource.com/setup_14.x" | sudo bash -
sudo apt-get install -y nodejs sudo apt-get install -y nodejs
curl --silent --show-error "https://dl.yarnpkg.com/debian/pubkey.gpg" | sudo apt-key add - npm install --global yarn
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://classic.yarnpkg.com/en/docs/install/) if you have any trouble with these steps. Visit the official websites for [node](https://nodejs.org/en/download/package-manager/) and [yarn](https://classic.yarnpkg.com/en/docs/install/) if you have any trouble with these steps.
......
...@@ -90,10 +90,9 @@ dependencies. ...@@ -90,10 +90,9 @@ dependencies.
In Debian or Ubuntu: In Debian or Ubuntu:
```shell ```shell
curl --silent --show-error "https://dl.yarnpkg.com/debian/pubkey.gpg" | sudo apt-key add - sudo apt-get remove yarn
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update npm install --global yarn
sudo apt-get install yarn
``` ```
More information can be found on the [Yarn website](https://classic.yarnpkg.com/en/docs/install). More information can be found on the [Yarn website](https://classic.yarnpkg.com/en/docs/install).
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment