install node.js module globally
The option -g will install a node module globally and you can use this module in any file directories.
[code language=”shell”]
sudo npm install -g some_module_name
[/code]
The rule of thumb is to install a node module globally if you need to use it on the shell command line.
Search within Codexpedia
![Google](https://www.google.com/images/poweredby_transparent/poweredby_FFFFFF.gif)
Custom Search
Search the entire web
![Google](https://www.google.com/images/poweredby_transparent/poweredby_FFFFFF.gif)
Custom Search
Related Posts