From d7b86252b2eb110c48c71a50918ce17e2fd213dd Mon Sep 17 00:00:00 2001
From: Eugene van der Merwe <eugene@vander.host>
Date: Sat, 13 Jun 2020 20:21:05 +0200
Subject: [PATCH] Prepended 'root' before npm install global command

NPM global commands need sudo
---
 content/docs/en/getting-started/3-installation.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/content/docs/en/getting-started/3-installation.md b/content/docs/en/getting-started/3-installation.md
index 32bf568f..fc739e1e 100644
--- a/content/docs/en/getting-started/3-installation.md
+++ b/content/docs/en/getting-started/3-installation.md
@@ -22,7 +22,7 @@ Download and install the latest _LTS_ version of Node.js from [https://nodejs.or
 To install the NativeScript CLI, open your terminal and run:
 
 ```shell
-$ npm install -g nativescript
+$ sudo npm install -g nativescript
 ```
 
 Verify the installation was successful by running `tns` in your terminal. You should see a list of the available commands.
@@ -43,4 +43,4 @@ Check the system requirements and follow the setup instructions for Xcode and th
 
 Check the system requirements and follow the setup instructions for the Android SDK on Linux:
 
-[Advanced setup: Linux](https://docs.nativescript.org/start/ns-setup-linux)
\ No newline at end of file
+[Advanced setup: Linux](https://docs.nativescript.org/start/ns-setup-linux)