Log in to a registry user account. See also: npm logout for logging out. More information: https://docs.npmjs.com/cli/commands/npm-login.
npm logout
.npmrc
npm login
npm login --registry={{registry_url}}
npm login --auth-type={{legacy|web}}