Last active
February 4, 2025 18:37
-
-
Save whoisYeshua/c008567c0f1c29434bacad000fe6dfd6 to your computer and use it in GitHub Desktop.
NPM custom registry and how to set them
This file contains 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
# npm config set //nexus.example.com/npm-all/:_auth=$(echo -n 'test:1234' | base64) | |
//nexus.example.com/npm-all/:_auth=dGVzdDoxMjM0 | |
# npm config set //nexus.example.com/npm-releases/:_auth=$(echo -n 'test:1234' | base64) | |
//nexus.example.com/npm-releases/:_auth=dGVzdDoxMjM0 | |
# npm config set @myco:registry=http://nexus.example.com/npm-releases/ | |
@myco:registry=http://nexus.example.com/npm-releases/ | |
# npm config set registry https://nexus.example.com/npm-all/ | |
registry=https://nexus.example.com/npm-all/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment