From 69e68986df286d67a7a8606c9547355ac614e88f Mon Sep 17 00:00:00 2001 From: Jacob Vosmaer Date: Fri, 7 Apr 2017 10:46:36 +0200 Subject: [PATCH] Use 'sudo bash' when adding nodesource repository In accordance with https://github.com/nodesource/distributions#debinstall --- doc/install/installation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/install/installation.md b/doc/install/installation.md index 5bba405f159..c87a485b6af 100644 --- a/doc/install/installation.md +++ b/doc/install/installation.md @@ -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