mirror of https://github.com/embarklabs/embark.git
npm -g install with no sudo
I've tested this to allow installation of embark-framework without requiring using sudo.
This commit is contained in:
parent
14f98c0020
commit
62428c2f9f
10
README.md
10
README.md
|
@ -23,6 +23,16 @@ For specs: pyethereum, ethertdd.py
|
||||||
$ npm install -g embark-framework grunt-cli
|
$ npm install -g embark-framework grunt-cli
|
||||||
```
|
```
|
||||||
|
|
||||||
|
If you get EACCES (access denied) errors, it is not recommended to use sudo, please 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).
|
See [Complete Installation Instructions](https://github.com/iurimatias/embark-framework/wiki/Installation).
|
||||||
|
|
||||||
Usage - Demo
|
Usage - Demo
|
||||||
|
|
Loading…
Reference in New Issue