npm login CLI for jFrog Artifactory (version 5.4 or below).
This CLI works with the jFrog API to get the npm authentication data and save it in your user level .npmrc
.
After version 5.4 of jFrog Artifactory, npm authentication can be done with npm login
. This CLI is only useful for older versions.
npm install -g jfrog-npm-login
The CLI can be used as jfrog-npm-login
or jnl
Lists all the jFrog Artifactory registries configured by the user.
jfrog-npm-login list
Configures a new jFrog Artifactory registries for the user.
jfrog-npm-login add --url https://my-domain.com/artifactory/api/npm/default/ --token XXXXXXX
Removes a configured jFrog Artifactory registries based on the URL.
jfrog-npm-login delete --url https://my-domain.com/artifactory/api/npm/default/