.TH "NPM\-LOGIN" "1" "November 2022" "9.1.1" .SH "NAME" \fBnpm-login\fR .SH Synopsis .P Note: This command is unaware of workspaces\. .SH Description .P Verify a user in the specified registry, and save the credentials to the .br \fB\|\.npmrc\fP file\. If no registry is specified, the default registry will be .br used (see \fBconfig\fP)\. .P When using \fBlegacy\fP for your \fBauth\-type\fP, the username and password, are .br read in from prompts\. .P To reset your password, go to https://www.npmjs.com/forgot .P To change your email address, go to https://www.npmjs.com/email-edit .P You may use this command multiple times with the same user account to .br authorize on a new machine\. When authenticating on a new machine, .br the username, password and email address must all match with .br your existing record\. .SH Configuration .SH See Also .RS 1 .IP \(bu 2 npm registry .IP \(bu 2 npm config .IP \(bu 2 npmrc .IP \(bu 2 npm owner .IP \(bu 2 npm whoami .IP \(bu 2 npm token .IP \(bu 2 npm profile .RE