CLI documentation update from CI

npm CLI robot committed Feb 4, 2026 at 18:27 UTC 0330c75fad583389e4b47e42dde56d02fd2d9918
11 files changed +67 -4
cli-cache.json
+1 -1
@@ -2,5 +2,5 @@
2 "v8": "aa8fff11cdab94fff1a2160ee5241f5f4632e96b",
3 "v9": "64763a341e7aa5b456e696f956759bf9b3440dc1",
4 "v10": "6755ca2d5301b079f9e2581fc72ba2a612171364",
5 - "v11": "2242f2515826474a4fb8664fc679f1919ecaf458"
5 + "v11": "332c9f355ff7c9a9a9e624100a84130a9b7c4162"
6 }
\ No newline at end of file
content/cli/v11/commands/npm-ci.mdx
+9
@@ -165,6 +165,15 @@ If true, npm does not run scripts specified in package.json files.
165
166 Note that commands explicitly intended to run a particular script, such as `npm start`, `npm stop`, `npm restart`, `npm test`, and `npm run` will still run their intended script if `ignore-scripts` is set, but they will _not_ run any pre- or post-scripts.
167
168 +#### `allow-git`
169 +
170 +- Default: "all"
171 +- Type: "all", "none", or "root"
172 +
173 +Limits the ability for npm to fetch dependencies from git references. That is, dependencies that point to a git repo instead of a version or semver range. Please note that this could leave your tree incomplete and some packages may not function as intended or designed.
174 +
175 +`all` allows any git dependencies to be fetched and installed. `none` prevents any git dependencies from being fetched and installed. `root` only allows git dependencies defined in your project's package.json to be fetched installed. Also allows git dependencies to be fetched for other commands like `npm view`
176 +
177 #### `audit`
178
179 - Default: true
content/cli/v11/commands/npm-dedupe.mdx
+9
@@ -168,6 +168,15 @@ If true, npm does not run scripts specified in package.json files.
168
169 Note that commands explicitly intended to run a particular script, such as `npm start`, `npm stop`, `npm restart`, `npm test`, and `npm run` will still run their intended script if `ignore-scripts` is set, but they will _not_ run any pre- or post-scripts.
170
171 +#### `allow-git`
172 +
173 +- Default: "all"
174 +- Type: "all", "none", or "root"
175 +
176 +Limits the ability for npm to fetch dependencies from git references. That is, dependencies that point to a git repo instead of a version or semver range. Please note that this could leave your tree incomplete and some packages may not function as intended or designed.
177 +
178 +`all` allows any git dependencies to be fetched and installed. `none` prevents any git dependencies from being fetched and installed. `root` only allows git dependencies defined in your project's package.json to be fetched installed. Also allows git dependencies to be fetched for other commands like `npm view`
179 +
180 #### `audit`
181
182 - Default: true
content/cli/v11/commands/npm-install-ci-test.mdx
+9
@@ -125,6 +125,15 @@ If true, npm does not run scripts specified in package.json files.
125
126 Note that commands explicitly intended to run a particular script, such as `npm start`, `npm stop`, `npm restart`, `npm test`, and `npm run` will still run their intended script if `ignore-scripts` is set, but they will _not_ run any pre- or post-scripts.
127
128 +#### `allow-git`
129 +
130 +- Default: "all"
131 +- Type: "all", "none", or "root"
132 +
133 +Limits the ability for npm to fetch dependencies from git references. That is, dependencies that point to a git repo instead of a version or semver range. Please note that this could leave your tree incomplete and some packages may not function as intended or designed.
134 +
135 +`all` allows any git dependencies to be fetched and installed. `none` prevents any git dependencies from being fetched and installed. `root` only allows git dependencies defined in your project's package.json to be fetched installed. Also allows git dependencies to be fetched for other commands like `npm view`
136 +
137 #### `audit`
138
139 - Default: true
content/cli/v11/commands/npm-install-test.mdx
+9
@@ -179,6 +179,15 @@ If true, npm does not run scripts specified in package.json files.
179
180 Note that commands explicitly intended to run a particular script, such as `npm start`, `npm stop`, `npm restart`, `npm test`, and `npm run` will still run their intended script if `ignore-scripts` is set, but they will _not_ run any pre- or post-scripts.
181
182 +#### `allow-git`
183 +
184 +- Default: "all"
185 +- Type: "all", "none", or "root"
186 +
187 +Limits the ability for npm to fetch dependencies from git references. That is, dependencies that point to a git repo instead of a version or semver range. Please note that this could leave your tree incomplete and some packages may not function as intended or designed.
188 +
189 +`all` allows any git dependencies to be fetched and installed. `none` prevents any git dependencies from being fetched and installed. `root` only allows git dependencies defined in your project's package.json to be fetched installed. Also allows git dependencies to be fetched for other commands like `npm view`
190 +
191 #### `audit`
192
193 - Default: true
content/cli/v11/commands/npm-install.mdx
+9
@@ -483,6 +483,15 @@ If true, npm does not run scripts specified in package.json files.
483
484 Note that commands explicitly intended to run a particular script, such as `npm start`, `npm stop`, `npm restart`, `npm test`, and `npm run` will still run their intended script if `ignore-scripts` is set, but they will _not_ run any pre- or post-scripts.
485
486 +#### `allow-git`
487 +
488 +- Default: "all"
489 +- Type: "all", "none", or "root"
490 +
491 +Limits the ability for npm to fetch dependencies from git references. That is, dependencies that point to a git repo instead of a version or semver range. Please note that this could leave your tree incomplete and some packages may not function as intended or designed.
492 +
493 +`all` allows any git dependencies to be fetched and installed. `none` prevents any git dependencies from being fetched and installed. `root` only allows git dependencies defined in your project's package.json to be fetched installed. Also allows git dependencies to be fetched for other commands like `npm view`
494 +
495 #### `audit`
496
497 - Default: true
content/cli/v11/commands/npm-link.mdx
+9
@@ -213,6 +213,15 @@ If true, npm does not run scripts specified in package.json files.
213
214 Note that commands explicitly intended to run a particular script, such as `npm start`, `npm stop`, `npm restart`, `npm test`, and `npm run` will still run their intended script if `ignore-scripts` is set, but they will _not_ run any pre- or post-scripts.
215
216 +#### `allow-git`
217 +
218 +- Default: "all"
219 +- Type: "all", "none", or "root"
220 +
221 +Limits the ability for npm to fetch dependencies from git references. That is, dependencies that point to a git repo instead of a version or semver range. Please note that this could leave your tree incomplete and some packages may not function as intended or designed.
222 +
223 +`all` allows any git dependencies to be fetched and installed. `none` prevents any git dependencies from being fetched and installed. `root` only allows git dependencies defined in your project's package.json to be fetched installed. Also allows git dependencies to be fetched for other commands like `npm view`
224 +
225 #### `audit`
226
227 - Default: true
content/cli/v11/commands/npm-ls.mdx
+1 -1
@@ -52,7 +52,7 @@ Note: to get a "bottoms up" view of why a given package is included in the tree
52 Positional arguments are `name@version-range` identifiers, which will limit the results to only the paths to the packages named. Note that nested packages will _also_ show the paths to the specified packages. For example, running `npm ls promzard` in npm's source tree will show:
53
54 ```bash
55 -npm@11.8.0 /path/to/npm
55 +npm@11.9.0 /path/to/npm
56 └─┬ init-package-json@0.0.4
57 └── promzard@0.1.5
58 ```
content/cli/v11/commands/npm.mdx
+1 -1
@@ -31,7 +31,7 @@ Note: This command is unaware of workspaces.
31
32 ### Version
33
34 -11.8.0
34 +11.9.0
35
36 ### Description
37
content/cli/v11/using-npm/config.mdx
+9
@@ -150,6 +150,15 @@ Note: This defaults to not changing the current access level for existing packag
150
151 When running `npm outdated` and `npm ls`, setting `--all` will show all outdated or installed packages, rather than only those directly depended upon by the current project.
152
153 +#### `allow-git`
154 +
155 +- Default: "all"
156 +- Type: "all", "none", or "root"
157 +
158 +Limits the ability for npm to fetch dependencies from git references. That is, dependencies that point to a git repo instead of a version or semver range. Please note that this could leave your tree incomplete and some packages may not function as intended or designed.
159 +
160 +`all` allows any git dependencies to be fetched and installed. `none` prevents any git dependencies from being fetched and installed. `root` only allows git dependencies defined in your project's package.json to be fetched installed. Also allows git dependencies to be fetched for other commands like `npm view`
161 +
162 #### `allow-same-version`
163
164 - Default: false
content/nav.yml
+1 -1
@@ -1596,7 +1596,7 @@
1596 - title: Changelog
1597 url: /cli/v10/using-npm/changelog
1598 description: Changelog notes for each version
1599 - - title: Version 11.8.0
1599 + - title: Version 11.9.0
1600 shortName: v11
1601 url: /cli/v11
1602 default: true