1.1.0 • Published 4 years ago

jfrog-npm-login v1.1.0

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

jfrog-npm-login

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.

Install

npm install -g jfrog-npm-login

Usage

The CLI can be used as jfrog-npm-login or jnl

list

Lists all the jFrog Artifactory registries configured by the user.

jfrog-npm-login list

add

Configures a new jFrog Artifactory registries for the user.

jfrog-npm-login add --url https://my-domain.com/artifactory/api/npm/default/ --token XXXXXXX

delete

Removes a configured jFrog Artifactory registries based on the URL.

jfrog-npm-login delete --url https://my-domain.com/artifactory/api/npm/default/