Node npm intro - illyfrancis/scribble GitHub Wiki

Tour of npm

http://tobyho.com/2012/02/09/tour-of-npm/

Examples

  • npm init - creates package.json
  • npm install gulp -g - installs globally
  • npm install backbone --save - installs locally to the project and saved to dependencies in 'package.json'
  • npm install gulp --save-dev - installs locally to the project and saved to devDependencies in the package.json file
  • npm update <package>
  • npm uninstall <module> or with option --save|--save-dev|--save-optional etc
    • npm rm
  • npm list - list installed package
⚠️ **GitHub.com Fallback** ⚠️