Explorar o código

Add npm -g option

Son A. Pham %!s(int64=9) %!d(string=hai) anos
pai
achega
36f1b3ec72
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      pages/common/npm.md

+ 4 - 0
pages/common/npm.md

@@ -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`