.TH "NPM\-PROFILE" "1" "August 2020" "" "" .SH "NAME" \fBnpm-profile\fR \- Change settings on your registry profile .SS Synopsis .P .RS 2 .nf npm profile get [\-\-json|\-\-parseable] [<property>] npm profile set [\-\-json|\-\-parseable] <property> <value> npm profile set password npm profile enable\-2fa [auth\-and\-writes|auth\-only] npm profile disable\-2fa .fi .RE .SS Description .P Change your profile information on the registry\. This not be available if you're using a non\-npmjs registry\. .RS 0 .IP \(bu 2 \fBnpm profile get [<property>]\fP: Display all of the properties of your profile, or one or more specific properties\. It looks like: .RE .P .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 0 .IP \(bu 2 \fBnpm profile set <property> <value>\fP: Set the value of a profile property\. You can set the following properties this way: email, fullname, homepage, freenode, twitter, github .IP \(bu 2 \fBnpm profile set password\fP: Change your password\. This is interactive, you'll be prompted for your current password and a new password\. You'll also be prompted for an OTP if you have two\-factor authentication enabled\. .IP \(bu 2 \fBnpm profile enable\-2fa [auth\-and\-writes|auth\-only]\fP: Enables two\-factor authentication\. Defaults to \fBauth\-and\-writes\fP mode\. Modes are: .RS .IP \(bu 2 \fBauth\-only\fP: Require an OTP when logging in or making changes to your account's authentication\. The OTP will be required on both the website and the command line\. .IP \(bu 2 \fBauth\-and\-writes\fP: Requires an OTP at all the times \fBauth\-only\fP does, and also requires one when publishing a module, setting the \fBlatest\fP 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 .SS Details .P All of the \fBnpm profile\fP subcommands accept \fB\-\-json\fP and \fB\-\-parseable\fP and will tailor their output based on those\. Some of these commands may not be available on non npmjs\.com registries\. .SS See Also .RS 0 .IP \(bu 2 npm help config .RE
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
npm-README.1 | File | 4.77 KB | 0644 |
|
npm-access.1 | File | 2.99 KB | 0644 |
|
npm-adduser.1 | File | 3.12 KB | 0644 |
|
npm-audit.1 | File | 4.39 KB | 0644 |
|
npm-bin.1 | File | 379 B | 0644 |
|
npm-bugs.1 | File | 1.05 KB | 0644 |
|
npm-build.1 | File | 639 B | 0644 |
|
npm-bundle.1 | File | 410 B | 0644 |
|
npm-cache.1 | File | 2.76 KB | 0644 |
|
npm-ci.1 | File | 2 KB | 0644 |
|
npm-completion.1 | File | 960 B | 0644 |
|
npm-config.1 | File | 1.62 KB | 0644 |
|
npm-dedupe.1 | File | 1.46 KB | 0644 |
|
npm-deprecate.1 | File | 952 B | 0644 |
|
npm-dist-tag.1 | File | 3.18 KB | 0644 |
|
npm-docs.1 | File | 1.14 KB | 0644 |
|
npm-doctor.1 | File | 4.84 KB | 0644 |
|
npm-edit.1 | File | 1.07 KB | 0644 |
|
npm-explore.1 | File | 1.11 KB | 0644 |
|
npm-fund.1 | File | 1.68 KB | 0644 |
|
npm-help-search.1 | File | 926 B | 0644 |
|
npm-help.1 | File | 965 B | 0644 |
|
npm-hook.1 | File | 2.05 KB | 0644 |
|
npm-init.1 | File | 2.37 KB | 0644 |
|
npm-install-ci-test.1 | File | 297 B | 0644 |
|
npm-install-test.1 | File | 755 B | 0644 |
|
npm-install.1 | File | 19.63 KB | 0644 |
|
npm-link.1 | File | 2.8 KB | 0644 |
|
npm-logout.1 | File | 1.25 KB | 0644 |
|
npm-ls.1 | File | 2.79 KB | 0644 |
|
npm-org.1 | File | 1.09 KB | 0644 |
|
npm-outdated.1 | File | 4.28 KB | 0644 |
|
npm-owner.1 | File | 1.21 KB | 0644 |
|
npm-pack.1 | File | 986 B | 0644 |
|
npm-ping.1 | File | 509 B | 0644 |
|
npm-prefix.1 | File | 618 B | 0644 |
|
npm-profile.1 | File | 3.49 KB | 0644 |
|
npm-prune.1 | File | 1.43 KB | 0644 |
|
npm-publish.1 | File | 3.14 KB | 0644 |
|
npm-rebuild.1 | File | 465 B | 0644 |
|
npm-repo.1 | File | 773 B | 0644 |
|
npm-restart.1 | File | 957 B | 0644 |
|
npm-root.1 | File | 374 B | 0644 |
|
npm-run-script.1 | File | 3.69 KB | 0644 |
|
npm-search.1 | File | 3.11 KB | 0644 |
|
npm-shrinkwrap.1 | File | 848 B | 0644 |
|
npm-star.1 | File | 544 B | 0644 |
|
npm-stars.1 | File | 539 B | 0644 |
|
npm-start.1 | File | 748 B | 0644 |
|
npm-stop.1 | File | 382 B | 0644 |
|
npm-team.1 | File | 2.26 KB | 0644 |
|
npm-test.1 | File | 399 B | 0644 |
|
npm-token.1 | File | 3.68 KB | 0644 |
|
npm-uninstall.1 | File | 1.63 KB | 0644 |
|
npm-unpublish.1 | File | 1.38 KB | 0644 |
|
npm-update.1 | File | 3.73 KB | 0644 |
|
npm-version.1 | File | 4.84 KB | 0644 |
|
npm-view.1 | File | 3.26 KB | 0644 |
|
npm-whoami.1 | File | 342 B | 0644 |
|
npm.1 | File | 5.53 KB | 0644 |
|
npx.1 | File | 6.7 KB | 0644 |
|