File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed
Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ # npm profile
2+
3+ > Manage the npm profile and related settings.
4+ > Note: This command is unaware of workspaces.
5+ > More information: < https://docs.npmjs.com/cli/npm-profile > .
6+
7+ - View the npm profile details:
8+
9+ ` npm profile get `
10+
11+ - View a specific property of the profile:
12+
13+ ` npm profile get {{property}} `
14+
15+ - Set or update a profile property:
16+
17+ ` npm profile set {{property}} {{value}} `
18+
19+ - Set the public email address:
20+
21+ ` npm profile set email {{email}} `
22+
23+ - Set the public name:
24+
25+ ` npm profile set fullname {{name}} `
26+
27+ - Set a new password interactively:
28+
29+ ` npm profile set password `
30+
31+ - Enable two-factor authentication (2FA) (defaults to ` auth-and-writes ` ):
32+
33+ ` npm profile enable-2fa {{auth-only|auth-and-writes}} `
34+
35+ - Disable two-factor authentication (2FA):
36+
37+ ` npm profile disable-2fa `
You can’t perform that action at this time.
0 commit comments