]> jfr.im git - irc/freenode/web-7.0.git/commitdiff
README.md: use sudo with npm 114/head
authorMikaela Suomalainen <redacted>
Fri, 4 Mar 2016 12:46:46 +0000 (14:46 +0200)
committerMikaela Suomalainen <redacted>
Fri, 4 Mar 2016 12:46:46 +0000 (14:46 +0200)
At least with Arch Linux you must be root in order to use the `-g` flag with `npm install`.

I assume that it's preferable to use `sudo` instead of changing the `$` to `#`.

README.md

index a82bc5915fd44157c559092d87be76f18f738f18..b2fdfab125c5682bb97f37e683f714ad4e890f9c 100644 (file)
--- a/README.md
+++ b/README.md
@@ -8,7 +8,7 @@ A shiny replacement for http://freenode.net.
 You'll need our node.js dependencies:
 
 ```console
-$ npm install -g myth svgo
+$ sudo npm install -g myth svgo
 ```
 
 Then, assuming a Python 3.4 (or later) installation: