Merge pull request #72 from linagee/patch-5

npm -g install with no sudo
This commit is contained in:
Iuri Matias 2015-08-31 20:17:05 -04:00
commit df4cf3d5b4
1 changed files with 10 additions and 0 deletions

View File

@ -23,6 +23,16 @@ For specs: pyethereum, ethertdd.py
$ npm install -g embark-framework grunt-cli
```
If you get EACCES (access denied) errors, don't use sudo, try this:
```Bash
$ mkdir ~/npm-global
$ npm config set prefix ~/npm-global
$ echo 'export PATH="$PATH:$HOME/npm-global/bin"' >>~/.bashrc
$ source ~/.bashrc
$ npm install -g embark-framework grunt-cli
```
See [Complete Installation Instructions](https://github.com/iurimatias/embark-framework/wiki/Installation).
Usage - Demo