Commit 5f6f673b authored by D3m0nKingx's avatar D3m0nKingx Committed by GitHub

Fix @angular/cli install instruction

Installing npm packages in global context (-g flag) requires root privileges, as install directory is in /usr/lib/node_modules/[module_name]
parent af2b39cd
......@@ -27,7 +27,7 @@ If you want to generate Angular components with Angular-cli , you **MUST** insta
Please follow [Angular-cli documentation](https://github.com/angular/angular-cli) if you had installed a previous version of `angular-cli`.
``` bash
npm install -g @angular/cli
sudo npm install -g @angular/cli
```
## To build for development
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment