Registry Login
A command-line utility to login into any public or private NPM registry
Usage
Call it directly to login into the public npm registry:
npx registry-login
Or pass a private registry to it:
npx registry-login https://private-registry
In both situations it will update the local ~/.npmrc
file with the token for the corresponding registry, which both npm
and yarn
use to login.