Explorar el Código

Add npm -g option

Son A. Pham hace 9 años
padre
commit
36f1b3ec72
Se han modificado 1 ficheros con 4 adiciones y 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`