mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-11 14:34:40 +00:00
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
|
||||
```
|
||||
|
||||
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).
|
||||
|
||||
Usage - Demo
|
||||
|
Loading…
x
Reference in New Issue
Block a user