.TH "NPM\-PROFILE" "1" "November 2022" "9.1.1" .SH "NAME" \fBnpm-profile\fR .SH Synopsis .P Note: This command is unaware of workspaces\. .SH Description .P Change your profile information on the registry\. Note that this command .br depends on the registry implementation, so third\-party registries may not .br support this interface\. .RS 1 .IP \(bu 2 \fBnpm profile get []\fP: Display all of the properties of your .br profile, or one or more specific properties\. It looks like: .RE .RS 2 .nf +\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+ | name | example | +\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+ | email | me@example\.com (verified) | +\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+ | two factor auth | auth\-and\-writes | +\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+ | fullname | Example User | +\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+ | homepage | | +\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+ | freenode | | +\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+ | twitter | | +\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+ | github | | +\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+ | created | 2015\-02\-26T01:38:35\.892Z | +\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+ | updated | 2017\-10\-02T21:29:45\.922Z | +\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+ .fi .RE .RS 1 .IP \(bu 2 \fBnpm profile set \fP: Set the value of a profile .br property\. You can set the following properties this way: email, fullname, .br homepage, freenode, twitter, github .IP \(bu 2 \fBnpm profile set password\fP: Change your password\. This is interactive, .br you'll be prompted for your current password and a new password\. You'll .br also be prompted for an OTP if you have two\-factor authentication .br enabled\. .IP \(bu 2 \fBnpm profile enable\-2fa [auth\-and\-writes|auth\-only]\fP: Enables two\-factor .br authentication\. Defaults to \fBauth\-and\-writes\fP mode\. Modes are: .RS 1 .IP \(bu 2 \fBauth\-only\fP: Require an OTP when logging in or making changes to your .br account's authentication\. The OTP will be required on both the website .br and the command line\. .IP \(bu 2 \fBauth\-and\-writes\fP: Requires an OTP at all the times \fBauth\-only\fP does, .br and also requires one when publishing a module, setting the \fBlatest\fP .br dist\-tag, or changing access via \fBnpm access\fP and \fBnpm owner\fP\|\. .RE .IP \(bu 2 \fBnpm profile disable\-2fa\fP: Disables two\-factor authentication\. .RE .SH Details .P Some of these commands may not be available on non npmjs\.com registries\. .SH Configuration .SH See Also .RS 1 .IP \(bu 2 npm adduser .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 .RE