Skip to content

Instantly share code, notes, and snippets.

@jamesmichiemo
Created August 29, 2016 23:01
Show Gist options
  • Select an option

  • Save jamesmichiemo/eed43308687c64d619b40dd7cfd79754 to your computer and use it in GitHub Desktop.

Select an option

Save jamesmichiemo/eed43308687c64d619b40dd7cfd79754 to your computer and use it in GitHub Desktop.
NPM commands
npm init # creates the package.json in the directory you're in
# At a minimum your package.json must have name and version number
# package.json will keep track of all the packages installed with a save flag
# eg:
npm install express@4.0.0 --save
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment