npm-profile
Manage the npm profile and related settings. tldr-pages
On several platforms
Several platforms
Manage the npm profile and related settings. Note: This command is unaware of workspaces.
View the npm profile details
npm profile getIdentifyView a specific property of the profile
npm profile get propertyIdentifySet or update a profile property
npm profile set property valueIdentifySet the public email address
npm profile set email emailIdentifySet the public name
npm profile set fullname nameIdentifySet a new password interactively
npm profile set passwordIdentifyEnable two-factor authentication (2FA) (defaults to auth-and-writes)
npm profile enable-2fa auth-onlyIdentifyDisable two-factor authentication (2FA)
npm profile disable-2faIdentify