mirror of
https://gitlab.com/gitlab-org/gitlab-foss.git
synced 2025-08-16 15:57:22 +00:00
Use 'sudo bash' when adding nodesource repository
In accordance with https://github.com/nodesource/distributions#debinstall
This commit is contained in:
@ -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:
|
||||
|
||||
# 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
|
||||
|
||||
# install yarn
|
||||
|
Reference in New Issue
Block a user