jfrog-npm-login

1.1.0 • Public • Published

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/

Package Sidebar

Install

npm i jfrog-npm-login

Weekly Downloads

3

Version

1.1.0

License

MIT

Unpacked Size

7.91 kB

Total Files

4

Last publish

Collaborators

  • manrueda