Skip to content

Instantly share code, notes, and snippets.

@butterybread
Created May 25, 2017 08:08
Show Gist options
  • Save butterybread/f61f6b8afc7a7b74d3e5e41c43b15ac6 to your computer and use it in GitHub Desktop.
Save butterybread/f61f6b8afc7a7b74d3e5e41c43b15ac6 to your computer and use it in GitHub Desktop.
NPM shortcut commands for installation

NPM shortcut commands

  • Installing a package & save to devDependencies npm install {package} --save-dev
    shortcut: npm i {package} -D

  • Installing a package & save to dependencies npm install {package} --save
    shortcut: npm i package -S

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment