Skip to content

Instantly share code, notes, and snippets.

@mafintosh
Last active June 21, 2018 17:40
Show Gist options
  • Star 10 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save mafintosh/5b836e90970d70877babe9739dccf5cd to your computer and use it in GitHub Desktop.
Save mafintosh/5b836e90970d70877babe9739dccf5cd to your computer and use it in GitHub Desktop.
Resets the npm defaults to how they used to be
npm config set loglevel http
npm config set progress false
npm config set package-lock false
npm config set save false
mkdir -p ~/.config/configstore/
printf '{"optOut": true,"lastUpdateCheck": 0}' > ~/.config/configstore/update-notifier-npm.json
@mafintosh
Copy link
Author

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