(Full description and list of commands at - https://npmjs.org/doc/index.html)
Make sure to export your local $PATH and prepand relative ./node_modules/.bin/:
export PATH="$PATH:./node_modules/.bin"This will allow executing npm binaries installed into the .bin local and isolated current ./node_modules
npm install <module-name> --saveInstall a package and also update package.json with the installed version and package name, but into the devDependencies section.
npm install <module-name> --save-devnpm config set save truenpm initnpm config ls -lnpm install git://github.com/substack/node-browserify.gitOr:
npm install angular/material2-buildsnpm update npm -gnpm docs <module-name>"scripts" : {"test" : "node testfile.js"}
npm testUninstall package (A nice thing about npm is you can always just rm -rf ./node_modules/<module_name>).
npm uninstall <module_name>npm edit <module_name>npm config set editor "sublime"npm publish --tag betanpm install --dry-runnpm outdatednpm shrinkwrapnpm install git://github.com/Marak/colors.js#v0.6.0npm xmasnpm visnupnpm substack