Created
August 17, 2017 21:28
-
-
Save alexcorre/3d4fe2ca7a02c247dac9efd36d86d8d4 to your computer and use it in GitHub Desktop.
export NPM_TOKEN in your shell
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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