Add npm -g option

waldyrious/alt-syntax
Son A. Pham 2015-12-29 22:46:40 -06:00 committed by Son Pham
parent cee926a196
commit 36f1b3ec72
1 changed files with 4 additions and 0 deletions

View File

@ -10,6 +10,10 @@
`npm install`
- Download and install a module globally
`npm install -g {{module_name}}`
- Download a given dependency, and add it to the package.json
`npm install {{module_name}}@{{version}} --save`