/
usr
/
local
/
lib
/
node_modules
/
npm
/
man
/
man1
/
/usr/local/lib/node_modules/npm/man/man1
mkdir
upload
Name
Size
Mode
Actions
npm-access.1
3270
0644
edit
dl
rm
npm-adduser.1
2207
0644
edit
dl
rm
npm-audit.1
18066
0644
edit
dl
rm
npm-bugs.1
3390
0644
edit
dl
rm
npm-cache.1
3695
0644
edit
dl
rm
npm-ci.1
10884
0644
edit
dl
rm
npm-completion.1
999
0644
edit
dl
rm
npm-config.1
4646
0644
edit
dl
rm
npm-dedupe.1
10565
0644
edit
dl
rm
npm-deprecate.1
2379
0644
edit
dl
rm
npm-diff.1
9781
0644
edit
dl
rm
npm-dist-tag.1
5646
0644
edit
dl
rm
npm-docs.1
3372
0644
edit
dl
rm
npm-doctor.1
5374
0644
edit
dl
rm
npm-edit.1
1190
0644
edit
dl
rm
npm-exec.1
12510
0644
edit
dl
rm
npm-explain.1
2939
0644
edit
dl
rm
npm-explore.1
1091
0644
edit
dl
rm
npm-find-dupes.1
7586
0644
edit
dl
rm
npm-fund.1
4073
0644
edit
dl
rm
npm-get.1
546
0644
edit
dl
rm
npm-help-search.1
869
0644
edit
dl
rm
npm-help.1
1101
0644
edit
dl
rm
npm-init.1
11590
0644
edit
dl
rm
npm-install-ci-test.1
9023
0644
edit
dl
rm
npm-install-test.1
13086
0644
edit
dl
rm
npm-install.1
31718
0644
edit
dl
rm
npm-link.1
13653
0644
edit
dl
rm
npm-ll.1
6591
0644
edit
dl
rm
npm-login.1
2558
0644
edit
dl
rm
npm-logout.1
1889
0644
edit
dl
rm
npm-ls.1
7964
0644
edit
dl
rm
npm-org.1
2312
0644
edit
dl
rm
npm-outdated.1
7759
0644
edit
dl
rm
npm-owner.1
3365
0644
edit
dl
rm
npm-pack.1
4326
0644
edit
dl
rm
npm-ping.1
851
0644
edit
dl
rm
npm-pkg.1
8722
0644
edit
dl
rm
npm-prefix.1
1306
0644
edit
dl
rm
npm-profile.1
3423
0644
edit
dl
rm
npm-prune.1
6453
0644
edit
dl
rm
npm-publish.1
8842
0644
edit
dl
rm
npm-query.1
7688
0644
edit
dl
rm
npm-rebuild.1
5659
0644
edit
dl
rm
npm-repo.1
3154
0644
edit
dl
rm
npm-restart.1
1690
0644
edit
dl
rm
npm-root.1
1196
0644
edit
dl
rm
npm-run.1
8383
0644
edit
dl
rm
npm-sbom.1
8999
0644
edit
dl
rm
npm-search.1
4067
0644
edit
dl
rm
npm-set.1
1632
0644
edit
dl
rm
npm-shrinkwrap.1
999
0644
edit
dl
rm
npm-star.1
1809
0644
edit
dl
rm
npm-stars.1
797
0644
edit
dl
rm
npm-start.1
1824
0644
edit
dl
rm
npm-stop.1
1454
0644
edit
dl
rm
npm-team.1
4505
0644
edit
dl
rm
npm-test.1
1367
0644
edit
dl
rm
npm-token.1
5522
0644
edit
dl
rm
npm-trust.1
10532
0644
edit
dl
rm
npm-undeprecate.1
1579
0644
edit
dl
rm
npm-uninstall.1
4988
0644
edit
dl
rm
npm-unpublish.1
4902
0644
edit
dl
rm
npm-unstar.1
1660
0644
edit
dl
rm
npm-update.1
14461
0644
edit
dl
rm
npm-version.1
9064
0644
edit
dl
rm
npm-view.1
8076
0644
edit
dl
rm
npm-whoami.1
875
0644
edit
dl
rm
npm.1
5968
0644
edit
dl
rm
npx.1
6865
0644
edit
dl
rm
Edit:
/usr/local/lib/node_modules/npm/man/man1/npm-token.1
(5522B)
.TH "NPM-TOKEN" "1" "March 2026" "NPM@11.12.0" "" .SH "NAME" \fBnpm-token\fR - Manage your authentication tokens .SS "Synopsis" .P .RS 2 .nf npm token list npm token revoke <id|token> npm token create .fi .RE .P Note: This command is unaware of workspaces. .SS "Description" .P This lets you list, create and revoke authentication tokens. .SS "Listing tokens" .P When listing tokens, an abbreviated token will be displayed. For security purposes the full token is not displayed. .SS "Generating tokens" .P When generating tokens, you will be prompted you for your password and, if you have two-factor authentication enabled, an otp. .P Please refer to the \fBdocs website\fR \fI\(lahttps://docs.npmjs.com/creating-and-viewing-access-tokens\(ra\fR for more information on generating tokens for CI/CD. .SS "Revoking tokens" .P When revoking a token, you can use the full token (e.g. what you get back from \fBnpm token create\fR, or as can be found in an \fB.npmrc\fR file), or a truncated id. If the given truncated id is not distinct enough to differentiate between multiple existing tokens, you will need to use enough of the id to allow npm to distinguish between them. Full token ids can be found on the \fBnpm website\fR \fI\(lahttps://www.npmjs.com\(ra\fR, or in the \fB--parseable\fR or \fB--json\fR output of \fBnpm token list\fR. This command will NOT accept the truncated token found in the normal \fBnpm token list\fR output. .P A revoked token will immediately be removed from the registry and you will no longer be able to use it. .SS "Configuration" .SS "\fBname\fR" .RS 0 .IP \(bu 4 Default: null .IP \(bu 4 Type: null or String .RE 0 .P When creating a Granular Access Token with \fBnpm token create\fR, this sets the name/description for the token. .SS "\fBtoken-description\fR" .RS 0 .IP \(bu 4 Default: null .IP \(bu 4 Type: null or String .RE 0 .P Description text for the token when using \fBnpm token create\fR. .SS "\fBexpires\fR" .RS 0 .IP \(bu 4 Default: null .IP \(bu 4 Type: null or Number .RE 0 .P When creating a Granular Access Token with \fBnpm token create\fR, this sets the expiration in days. If not specified, the server will determine the default expiration. .SS "\fBpackages\fR" .RS 0 .IP \(bu 4 Default: .IP \(bu 4 Type: null or String (can be set multiple times) .RE 0 .P When creating a Granular Access Token with \fBnpm token create\fR, this limits the token access to specific packages. .SS "\fBpackages-all\fR" .RS 0 .IP \(bu 4 Default: false .IP \(bu 4 Type: Boolean .RE 0 .P When creating a Granular Access Token with \fBnpm token create\fR, grants the token access to all packages instead of limiting to specific packages. .SS "\fBscopes\fR" .RS 0 .IP \(bu 4 Default: null .IP \(bu 4 Type: null or String (can be set multiple times) .RE 0 .P When creating a Granular Access Token with \fBnpm token create\fR, this limits the token access to specific scopes. Provide a scope name (with or without @ prefix). .SS "\fBorgs\fR" .RS 0 .IP \(bu 4 Default: null .IP \(bu 4 Type: null or String (can be set multiple times) .RE 0 .P When creating a Granular Access Token with \fBnpm token create\fR, this limits the token access to specific organizations. .SS "\fBpackages-and-scopes-permission\fR" .RS 0 .IP \(bu 4 Default: null .IP \(bu 4 Type: null, "read-only", "read-write", or "no-access" .RE 0 .P When creating a Granular Access Token with \fBnpm token create\fR, sets the permission level for packages and scopes. Options are "read-only", "read-write", or "no-access". .SS "\fBorgs-permission\fR" .RS 0 .IP \(bu 4 Default: null .IP \(bu 4 Type: null, "read-only", "read-write", or "no-access" .RE 0 .P When creating a Granular Access Token with \fBnpm token create\fR, sets the permission level for organizations. Options are "read-only", "read-write", or "no-access". .SS "\fBcidr\fR" .RS 0 .IP \(bu 4 Default: null .IP \(bu 4 Type: null or String (can be set multiple times) .RE 0 .P This is a list of CIDR address to be used when configuring limited access tokens with the \fBnpm token create\fR command. .SS "\fBbypass-2fa\fR" .RS 0 .IP \(bu 4 Default: false .IP \(bu 4 Type: Boolean .RE 0 .P When creating a Granular Access Token with \fBnpm token create\fR, setting this to true will allow the token to bypass two-factor authentication. This is useful for automation and CI/CD workflows. .SS "\fBpassword\fR" .RS 0 .IP \(bu 4 Default: null .IP \(bu 4 Type: null or String .RE 0 .P Password for authentication. Can be provided via command line when creating tokens, though it's generally safer to be prompted for it. .SS "\fBregistry\fR" .RS 0 .IP \(bu 4 Default: "https://registry.npmjs.org/" .IP \(bu 4 Type: URL .RE 0 .P The base URL of the npm registry. .SS "\fBotp\fR" .RS 0 .IP \(bu 4 Default: null .IP \(bu 4 Type: null or String .RE 0 .P This is a one-time password from a two-factor authenticator. It's needed when publishing or changing package permissions with \fBnpm access\fR. .P If not set, and a registry response fails with a challenge for a one-time password, npm will prompt on the command line for one. .SS "\fBread-only\fR" .RS 0 .IP \(bu 4 Default: false .IP \(bu 4 Type: Boolean .RE 0 .P This is used to mark a token as unable to publish when configuring limited access tokens with the \fBnpm token create\fR command. .SS "See Also" .RS 0 .IP \(bu 4 npm help adduser .IP \(bu 4 npm help registry .IP \(bu 4 npm help config .IP \(bu 4 npm help npmrc .IP \(bu 4 npm help owner .IP \(bu 4 npm help whoami .IP \(bu 4 npm help profile .RE 0
Save
cmd:
run