Install npm + packages

Install npm with following command:

# apt-get install npm

Install npm packages either globally:

# npm install -g <package name>

… or locally:

$ npm install <package name>

This is archived version of blog, preventing broken links. This version will stay online indefinitely.