Skip to content

Instantly share code, notes, and snippets.

@warrenMichael
Created December 3, 2015 17:32
Show Gist options
  • Save warrenMichael/45bdc1b93512efe169d5 to your computer and use it in GitHub Desktop.
Save warrenMichael/45bdc1b93512efe169d5 to your computer and use it in GitHub Desktop.
npmrc changing scope
How to update ~/.npmrc to new registry
Simple guide to update to npm inc registy.
Requirements:
npm version >= 2.0
Steps
backup ~/.npmrc, and then remove it (mv ~/.npmrc ~/.npmrc-bak )
then npm login --scope conde
auth in prompt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment