Skip to content

Instantly share code, notes, and snippets.

@alexcorre
Created August 17, 2017 21:28
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alexcorre/3d4fe2ca7a02c247dac9efd36d86d8d4 to your computer and use it in GitHub Desktop.
Save alexcorre/3d4fe2ca7a02c247dac9efd36d86d8d4 to your computer and use it in GitHub Desktop.
export NPM_TOKEN in your shell
# add the following somewhere your shell will source .bash_profile, .bashrc, .zshrc, etc.
export NPM_TOKEN=$(cat ~/.npmrc | sed 's/.*authToken=\(.*\)/\1/')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment