LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

npm-adduser

creates or verifies a user account in the npm registry

TLDR

Login to npm registry
$ npm adduser
copy
Login to specific registry
$ npm adduser --registry [https://registry.example.com]
copy
Login with specific scope
$ npm adduser --scope @[myorg]
copy

SYNOPSIS

npm adduser [options]

DESCRIPTION

npm adduser creates or verifies a user account in the npm registry. Prompts for username, password, and email. Stores credentials in ~/.npmrc. Alias for npm login.

PARAMETERS

--registry url

Registry to authenticate with.
--scope scope
Associate with scope.
--auth-type type
Authentication type.

SEE ALSO

npm(1), npm-logout(1)

Copied to clipboard
Kai