LinuxCommandLibrary

npm-profile

manages npm registry user profile

TLDR

Show profile

$ npm profile get
copy
Set profile field
$ npm profile set [field] [value]
copy
Enable 2FA
$ npm profile enable-2fa
copy
Disable 2FA
$ npm profile disable-2fa
copy

SYNOPSIS

npm profile command [options]

DESCRIPTION

npm profile manages npm registry user profile. View and update profile settings. Configure two-factor authentication for account security.

PARAMETERS

get field

Get profile value.
set field value
Set profile value.
enable-2fa mode
Enable 2FA (auth-only, auth-and-writes).
disable-2fa
Disable 2FA.

SEE ALSO

npm(1), npm-adduser(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community