Merge branch 'node-sudo-bash' into 'master'
Use 'sudo bash' when adding nodesource repository See merge request !10527
This commit is contained in:
commit
c5b0c530bf
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@ In many distros the versions provided by the official package repositories
|
||||||
are out of date, so we'll need to install through the following commands:
|
are out of date, so we'll need to install through the following commands:
|
||||||
|
|
||||||
# install node v7.x
|
# install node v7.x
|
||||||
curl --location https://deb.nodesource.com/setup_7.x | 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
|
# install yarn
|
||||||
|
|
Loading…
Reference in a new issue