Install 'yarn' globally to avoid PATH issues
This commit is contained in:
parent
23c502b434
commit
6c95abf173
|
@ -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 -
|
curl --location https://deb.nodesource.com/setup_7.x | sudo bash -
|
||||||
sudo apt-get install -y nodejs
|
sudo apt-get install -y nodejs
|
||||||
|
|
||||||
# install yarn
|
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
|
||||||
curl --location https://yarnpkg.com/install.sh | bash -
|
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.
|
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.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue