Skip to content

Commit 66e97c2

Browse files
meeechowlstronaut
authored andcommitted
docs: update minimum npm required for npm trust
with new --allow-publish/--allow-staged-publish the minimum version of npm needed for the trust command has changed (cherry picked from commit aac80dc)
1 parent 33d421a commit 66e97c2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/lib/content/commands/npm-trust.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ description: Manage trusted publishing relationships between packages and CI/CD
1212

1313
Before using npm trust commands, ensure the following requirements are met:
1414

15-
* **npm version**: `npm@11.10.0` or above is required. Use `npm install -g npm@^11.10.0` to update if needed.
15+
* **npm version**: `npm@11.15.0` or above is required. Use `npm install -g npm@^11.15.0` to update if needed.
1616
* **Write permissions on the package**: You must have write access to the package you're configuring.
1717
* **2FA enabled on account**: Two-factor authentication must be enabled at the account level. Even if it's not currently enabled, you must enable it to use trust commands.
1818
* **Supported authentication methods**: Granular Access Tokens (GAT) with the bypass 2FA option are not supported. Legacy basic auth (username and password) credentials will not work for trust commands or endpoints.

0 commit comments

Comments
 (0)