DOKK / manpages / debian 12 / npm / npm-adduser.1.en
NPM-ADDUSER(1) General Commands Manual NPM-ADDUSER(1)

npm-adduser

<!-- AUTOGENERATED USAGE DESCRIPTIONS -->

Note: This command is unaware of workspaces.

Create a new user in the specified registry, and save the credentials to
the .npmrc file. If no registry is specified, the default registry
will be used (see registry).

When using legacy for your auth-type, the username, password, and
email are read in from prompts.

<!-- AUTOGENERATED CONFIG DESCRIPTIONS -->

  • npm registry
  • npm config
  • npmrc
  • npm owner
  • npm whoami
  • npm token
  • npm profile

December 2022 9.2.0