2011-11-22 01:48:45 +08:00
|
|
|
npm-adduser(1) -- Add a registry user account
|
|
|
|
=============================================
|
|
|
|
|
|
|
|
## SYNOPSIS
|
|
|
|
|
|
|
|
npm adduser
|
|
|
|
|
|
|
|
## DESCRIPTION
|
|
|
|
|
|
|
|
Create or verify a user named `<username>` in the npm registry, and
|
|
|
|
save the credentials to the `.npmrc` file.
|
|
|
|
|
|
|
|
The username, password, and email are read in from prompts.
|
|
|
|
|
|
|
|
You may use this command to change your email address, but not username
|
|
|
|
or password.
|
|
|
|
|
2013-12-26 11:15:23 +08:00
|
|
|
To reset your password, go to <https://npmjs.org/forgot>
|
2011-11-22 01:48:45 +08:00
|
|
|
|
|
|
|
You may use this command multiple times with the same user account to
|
|
|
|
authorize on a new machine.
|
|
|
|
|
|
|
|
## CONFIGURATION
|
|
|
|
|
|
|
|
### registry
|
|
|
|
|
|
|
|
Default: http://registry.npmjs.org/
|
|
|
|
|
|
|
|
The base URL of the npm package registry.
|
|
|
|
|
|
|
|
## SEE ALSO
|
|
|
|
|
2013-07-12 23:55:57 +08:00
|
|
|
* npm-registry(7)
|
2011-11-22 01:48:45 +08:00
|
|
|
* npm-config(1)
|
2013-07-12 23:55:57 +08:00
|
|
|
* npm-config(7)
|
|
|
|
* npmrc(5)
|
2011-11-22 01:48:45 +08:00
|
|
|
* npm-owner(1)
|
|
|
|
* npm-whoami(1)
|