Skip to content

Instantly share code, notes, and snippets.

@Saanch
Last active March 31, 2016 05:20
Show Gist options
  • Save Saanch/f9b25d5647a4bf46fd72c8a0ff6273a0 to your computer and use it in GitHub Desktop.
Save Saanch/f9b25d5647a4bf46fd72c8a0ff6273a0 to your computer and use it in GitHub Desktop.
To Update npm package withoput editing package.json file

To update one dependency to its lastest version without having to manually open the package.json and change it, you can run

npm install {package-name}@* {save flags?} i.e.

npm install express@* --save For reference, npm-install

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