CmdID / Commands
npm-login
Log in to a registry user account. tldr-pages
On several platforms
Log in to a registry user account and save the credentials to the .npmrc file
Log in using a custom registry
npm login --registry registry_urlIdentify
Log in using a specific authentication strategy