CLI documentation update from CI
npm CLI robot committed
Sep 3, 2025 at 19:48 UTC
2fd1ec9397b5355d1af03900f100db447a5b809a
5 files changed
+6
-5
cli-cache.json
+1
-1
@@ -2,5 +2,5 @@
2
"v8": "aa8fff11cdab94fff1a2160ee5241f5f4632e96b",
3
"v9": "64763a341e7aa5b456e696f956759bf9b3440dc1",
4
"v10": "f69c403700acb05dbb56d8516bca5130627e597c",
5
- "v11": "dd4cee9026c8e2dd5e4c28fd45ac8bceae74fb89"
5
+ "v11": "619d43e54ef7408d4ee6b38a776262b5132829b6"
6
}
\ No newline at end of file
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.5.2 /path/to/npm
55
+npm@11.6.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.5.2
34
+11.6.0
35
36
### Description
37
content/cli/v11/configuring-npm/npmrc.mdx
+2
-1
@@ -34,10 +34,11 @@ The four relevant files are:
34
- global config file (`$PREFIX/etc/npmrc`)
35
- npm builtin config file (`/path/to/npm/npmrc`)
36
37
-All npm config files are an ini-formatted list of `key = value` parameters. Environment variables can be replaced using `${VARIABLE_NAME}`. For example:
37
+All npm config files are an ini-formatted list of `key = value` parameters. Environment variables can be replaced using `${VARIABLE_NAME}`. By default if the variable is not defined, it is left unreplaced. By adding `?` after variable name they can be forced to evaluate to an empty string instead. For example:
38
39
```bash
40
cache = ${HOME}/.npm-packages
41
+node-options = "${NODE_OPTIONS?} --use-system-ca"
42
```
43
44
Each of these files is loaded, and config options are resolved in priority order. For example, a setting in the userconfig file would override the setting in the globalconfig file.
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.5.2
1599
+ - title: Version 11.6.0
1600
shortName: v11
1601
url: /cli/v11
1602
default: true