Skip to content

Instantly share code, notes, and snippets.

@yoshuawuyts
Forked from mafintosh/npm-classic-config.sh
Last active July 5, 2017 12:36
Show Gist options
  • Save yoshuawuyts/0800f8964ad83e038748e9f1d1f68376 to your computer and use it in GitHub Desktop.
Save yoshuawuyts/0800f8964ad83e038748e9f1d1f68376 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 shrinkwrap false
npm config set save false
npm config set package-lock false
mkdir -p ~/.config/configstore/
printf '{"optOut": true,"lastUpdateCheck": 0}' > ~/.config/configstore/update-notifier-npm.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment