]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Added sudo note for command line install 8231/head
authorJohn Vedral <MainelyWeb@users.noreply.github.com>
Wed, 24 Feb 2016 17:22:37 +0000 (12:22 -0500)
committerJohn Vedral <MainelyWeb@users.noreply.github.com>
Wed, 24 Feb 2016 17:22:37 +0000 (12:22 -0500)
Some distributions don't allow you to log in as root and since the npm foundation install is globally available on the system, sudo will be required.

docs/pages/installation.md

index 91fc12896752df80edafbd47404d319f4ca388e0..e5bce7259cf6ea2cee6246c93fdb3ba9afc0043b 100644 (file)
@@ -17,6 +17,12 @@ Not a fan of GUIs? The Node-powered Foundation CLI can install the same template
 npm install --global foundation-cli
 ```
 
+Some Linux distributions may require you to run the command as root:
+
+```bash
+sudo npm install --global foundation-cli
+```
+
 <div class="callout alert">
   <p>If you already have the Foundation 5 CLI on your machine, you will only be able to access one of the commands, depending on how your command line environment is configured.</p>