| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -9,9 +9,8 @@ | |||
| 9 | 9 | ||
| 10 | 10 | One of the following versions of [Node.js](https://nodejs.org/en/download/) must be installed to run **`npm`**: | |
| 11 | 11 | ||
| 12 | - * `14.x.x` >= `14.17.0` | ||
| 13 | - * `16.x.x` >= `16.13.0` | ||
| 14 | - * `18.0.0` or higher | ||
| 12 | + * `18.x.x` >= `18.17.0` | ||
| 13 | + * `20.5.0` or higher | ||
| 15 | 14 | ||
| 16 | 15 | ### Installation | |
| 17 | 16 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -256,6 +256,26 @@ Note: This is NOT honored by other network related commands, eg `dist-tags`, | |||
| 256 | 256 | ||
| 257 | 257 | ||
| 258 | 258 | ||
| 259 | + #### `cpu` | ||
| 260 | + | ||
| 261 | + * Default: null | ||
| 262 | + * Type: null or String | ||
| 263 | + | ||
| 264 | + Override CPU architecture of native modules to install. Acceptable values | ||
| 265 | + are same as `cpu` field of package.json, which comes from `process.arch`. | ||
| 266 | + | ||
| 267 | + | ||
| 268 | + | ||
| 269 | + #### `os` | ||
| 270 | + | ||
| 271 | + * Default: null | ||
| 272 | + * Type: null or String | ||
| 273 | + | ||
| 274 | + Override OS of native modules to install. Acceptable values are same as `os` | ||
| 275 | + field of package.json, which comes from `process.platform`. | ||
| 276 | + | ||
| 277 | + | ||
| 278 | + | ||
| 259 | 279 | #### `workspace` | |
| 260 | 280 | ||
| 261 | 281 | * Default: | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -646,6 +646,26 @@ Note: This is NOT honored by other network related commands, eg `dist-tags`, | |||
| 646 | 646 | ||
| 647 | 647 | ||
| 648 | 648 | ||
| 649 | + #### `cpu` | ||
| 650 | + | ||
| 651 | + * Default: null | ||
| 652 | + * Type: null or String | ||
| 653 | + | ||
| 654 | + Override CPU architecture of native modules to install. Acceptable values | ||
| 655 | + are same as `cpu` field of package.json, which comes from `process.arch`. | ||
| 656 | + | ||
| 657 | + | ||
| 658 | + | ||
| 659 | + #### `os` | ||
| 660 | + | ||
| 661 | + * Default: null | ||
| 662 | + * Type: null or String | ||
| 663 | + | ||
| 664 | + Override OS of native modules to install. Acceptable values are same as `os` | ||
| 665 | + field of package.json, which comes from `process.platform`. | ||
| 666 | + | ||
| 667 | + | ||
| 668 | + | ||
| 649 | 669 | #### `workspace` | |
| 650 | 670 | ||
| 651 | 671 | * Default: | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -27,7 +27,7 @@ packages will *also* show the paths to the specified packages. For | |||
| 27 | 27 | example, running `npm ls promzard` in npm's source tree will show: | |
| 28 | 28 | ||
| 29 | 29 | ```bash | |
| 30 | - npm@10.0.0 /path/to/npm | ||
| 30 | + npm@10.1.0 /path/to/npm | ||
| 31 | 31 | └─┬ init-package-json@0.0.4 | |
| 32 | 32 | └── promzard@0.1.5 | |
| 33 | 33 | ``` | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -14,7 +14,7 @@ Note: This command is unaware of workspaces. | |||
| 14 | 14 | ||
| 15 | 15 | ### Version | |
| 16 | 16 | ||
| 17 | - 10.0.0 | ||
| 17 | + 10.1.0 | ||
| 18 | 18 | ||
| 19 | 19 | ### Description | |
| 20 | 20 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -345,6 +345,16 @@ Run git commit hooks when using the `npm version` command. | |||
| 345 | 345 | ||
| 346 | 346 | ||
| 347 | 347 | ||
| 348 | + #### `cpu` | ||
| 349 | + | ||
| 350 | + * Default: null | ||
| 351 | + * Type: null or String | ||
| 352 | + | ||
| 353 | + Override CPU architecture of native modules to install. Acceptable values | ||
| 354 | + are same as `cpu` field of package.json, which comes from `process.arch`. | ||
| 355 | + | ||
| 356 | + | ||
| 357 | + | ||
| 348 | 358 | #### `depth` | |
| 349 | 359 | ||
| 350 | 360 | * Default: `Infinity` if `--all` is set, otherwise `1` | |
@@ -1038,6 +1048,16 @@ time. | |||
| 1038 | 1048 | ||
| 1039 | 1049 | ||
| 1040 | 1050 | ||
| 1051 | + #### `os` | ||
| 1052 | + | ||
| 1053 | + * Default: null | ||
| 1054 | + * Type: null or String | ||
| 1055 | + | ||
| 1056 | + Override OS of native modules to install. Acceptable values are same as `os` | ||
| 1057 | + field of package.json, which comes from `process.platform`. | ||
| 1058 | + | ||
| 1059 | + | ||
| 1060 | + | ||
| 1041 | 1061 | #### `otp` | |
| 1042 | 1062 | ||
| 1043 | 1063 | * Default: null | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -142,7 +142,7 @@ <h1 id="npm-install-test">npm-install-test</h1> | |||
| 142 | 142 | ||
| 143 | 143 | <section id="table_of_contents"> | |
| 144 | 144 | <h2 id="table-of-contents">Table of contents</h2> | |
| 145 | - <div id="_table_of_contents"><ul><li><a href="#synopsis">Synopsis</a></li><li><a href="#description">Description</a></li><li><a href="#configuration">Configuration</a></li><ul><li><a href="#save"><code>save</code></a></li><li><a href="#save-exact"><code>save-exact</code></a></li><li><a href="#global"><code>global</code></a></li><li><a href="#install-strategy"><code>install-strategy</code></a></li><li><a href="#legacy-bundling"><code>legacy-bundling</code></a></li><li><a href="#global-style"><code>global-style</code></a></li><li><a href="#omit"><code>omit</code></a></li><li><a href="#strict-peer-deps"><code>strict-peer-deps</code></a></li><li><a href="#prefer-dedupe"><code>prefer-dedupe</code></a></li><li><a href="#package-lock"><code>package-lock</code></a></li><li><a href="#package-lock-only"><code>package-lock-only</code></a></li><li><a href="#foreground-scripts"><code>foreground-scripts</code></a></li><li><a href="#ignore-scripts"><code>ignore-scripts</code></a></li><li><a href="#audit"><code>audit</code></a></li><li><a href="#bin-links"><code>bin-links</code></a></li><li><a href="#fund"><code>fund</code></a></li><li><a href="#dry-run"><code>dry-run</code></a></li><li><a href="#workspace"><code>workspace</code></a></li><li><a href="#workspaces"><code>workspaces</code></a></li><li><a href="#include-workspace-root"><code>include-workspace-root</code></a></li><li><a href="#install-links"><code>install-links</code></a></li></ul><li><a href="#see-also">See Also</a></li></ul></div> | ||
| 145 | + <div id="_table_of_contents"><ul><li><a href="#synopsis">Synopsis</a></li><li><a href="#description">Description</a></li><li><a href="#configuration">Configuration</a></li><ul><li><a href="#save"><code>save</code></a></li><li><a href="#save-exact"><code>save-exact</code></a></li><li><a href="#global"><code>global</code></a></li><li><a href="#install-strategy"><code>install-strategy</code></a></li><li><a href="#legacy-bundling"><code>legacy-bundling</code></a></li><li><a href="#global-style"><code>global-style</code></a></li><li><a href="#omit"><code>omit</code></a></li><li><a href="#strict-peer-deps"><code>strict-peer-deps</code></a></li><li><a href="#prefer-dedupe"><code>prefer-dedupe</code></a></li><li><a href="#package-lock"><code>package-lock</code></a></li><li><a href="#package-lock-only"><code>package-lock-only</code></a></li><li><a href="#foreground-scripts"><code>foreground-scripts</code></a></li><li><a href="#ignore-scripts"><code>ignore-scripts</code></a></li><li><a href="#audit"><code>audit</code></a></li><li><a href="#bin-links"><code>bin-links</code></a></li><li><a href="#fund"><code>fund</code></a></li><li><a href="#dry-run"><code>dry-run</code></a></li><li><a href="#cpu"><code>cpu</code></a></li><li><a href="#os"><code>os</code></a></li><li><a href="#workspace"><code>workspace</code></a></li><li><a href="#workspaces"><code>workspaces</code></a></li><li><a href="#include-workspace-root"><code>include-workspace-root</code></a></li><li><a href="#install-links"><code>install-links</code></a></li></ul><li><a href="#see-also">See Also</a></li></ul></div> | ||
| 146 | 146 | </section> | |
| 147 | 147 | ||
| 148 | 148 | <div id="_content"><h3 id="synopsis">Synopsis</h3> | |
@@ -327,6 +327,20 @@ <h4 id="dry-run"><code>dry-run</code></h4> | |||
| 327 | 327 | <code>dedupe</code>, <code>uninstall</code>, as well as <code>pack</code> and <code>publish</code>.</p> | |
| 328 | 328 | <p>Note: This is NOT honored by other network related commands, eg <code>dist-tags</code>, | |
| 329 | 329 | <code>owner</code>, etc.</p> | |
| 330 | + <h4 id="cpu"><code>cpu</code></h4> | ||
| 331 | + <ul> | ||
| 332 | + <li>Default: null</li> | ||
| 333 | + <li>Type: null or String</li> | ||
| 334 | + </ul> | ||
| 335 | + <p>Override CPU architecture of native modules to install. Acceptable values | ||
| 336 | + are same as <code>cpu</code> field of package.json, which comes from <code>process.arch</code>.</p> | ||
| 337 | + <h4 id="os"><code>os</code></h4> | ||
| 338 | + <ul> | ||
| 339 | + <li>Default: null</li> | ||
| 340 | + <li>Type: null or String</li> | ||
| 341 | + </ul> | ||
| 342 | + <p>Override OS of native modules to install. Acceptable values are same as <code>os</code> | ||
| 343 | + field of package.json, which comes from <code>process.platform</code>.</p> | ||
| 330 | 344 | <h4 id="workspace"><code>workspace</code></h4> | |
| 331 | 345 | <ul> | |
| 332 | 346 | <li>Default:</li> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -142,7 +142,7 @@ <h1 id="npm-install">npm-install</h1> | |||
| 142 | 142 | ||
| 143 | 143 | <section id="table_of_contents"> | |
| 144 | 144 | <h2 id="table-of-contents">Table of contents</h2> | |
| 145 | - <div id="_table_of_contents"><ul><li><a href="#synopsis">Synopsis</a></li><li><a href="#description">Description</a></li><li><a href="#configuration">Configuration</a></li><ul><li><a href="#save"><code>save</code></a></li><li><a href="#save-exact"><code>save-exact</code></a></li><li><a href="#global"><code>global</code></a></li><li><a href="#install-strategy"><code>install-strategy</code></a></li><li><a href="#legacy-bundling"><code>legacy-bundling</code></a></li><li><a href="#global-style"><code>global-style</code></a></li><li><a href="#omit"><code>omit</code></a></li><li><a href="#strict-peer-deps"><code>strict-peer-deps</code></a></li><li><a href="#prefer-dedupe"><code>prefer-dedupe</code></a></li><li><a href="#package-lock"><code>package-lock</code></a></li><li><a href="#package-lock-only"><code>package-lock-only</code></a></li><li><a href="#foreground-scripts"><code>foreground-scripts</code></a></li><li><a href="#ignore-scripts"><code>ignore-scripts</code></a></li><li><a href="#audit"><code>audit</code></a></li><li><a href="#bin-links"><code>bin-links</code></a></li><li><a href="#fund"><code>fund</code></a></li><li><a href="#dry-run"><code>dry-run</code></a></li><li><a href="#workspace"><code>workspace</code></a></li><li><a href="#workspaces"><code>workspaces</code></a></li><li><a href="#include-workspace-root"><code>include-workspace-root</code></a></li><li><a href="#install-links"><code>install-links</code></a></li></ul><li><a href="#algorithm">Algorithm</a></li><li><a href="#see-also">See Also</a></li></ul></div> | ||
| 145 | + <div id="_table_of_contents"><ul><li><a href="#synopsis">Synopsis</a></li><li><a href="#description">Description</a></li><li><a href="#configuration">Configuration</a></li><ul><li><a href="#save"><code>save</code></a></li><li><a href="#save-exact"><code>save-exact</code></a></li><li><a href="#global"><code>global</code></a></li><li><a href="#install-strategy"><code>install-strategy</code></a></li><li><a href="#legacy-bundling"><code>legacy-bundling</code></a></li><li><a href="#global-style"><code>global-style</code></a></li><li><a href="#omit"><code>omit</code></a></li><li><a href="#strict-peer-deps"><code>strict-peer-deps</code></a></li><li><a href="#prefer-dedupe"><code>prefer-dedupe</code></a></li><li><a href="#package-lock"><code>package-lock</code></a></li><li><a href="#package-lock-only"><code>package-lock-only</code></a></li><li><a href="#foreground-scripts"><code>foreground-scripts</code></a></li><li><a href="#ignore-scripts"><code>ignore-scripts</code></a></li><li><a href="#audit"><code>audit</code></a></li><li><a href="#bin-links"><code>bin-links</code></a></li><li><a href="#fund"><code>fund</code></a></li><li><a href="#dry-run"><code>dry-run</code></a></li><li><a href="#cpu"><code>cpu</code></a></li><li><a href="#os"><code>os</code></a></li><li><a href="#workspace"><code>workspace</code></a></li><li><a href="#workspaces"><code>workspaces</code></a></li><li><a href="#include-workspace-root"><code>include-workspace-root</code></a></li><li><a href="#install-links"><code>install-links</code></a></li></ul><li><a href="#algorithm">Algorithm</a></li><li><a href="#see-also">See Also</a></li></ul></div> | ||
| 146 | 146 | </section> | |
| 147 | 147 | ||
| 148 | 148 | <div id="_content"><h3 id="synopsis">Synopsis</h3> | |
@@ -653,6 +653,20 @@ <h4 id="dry-run"><code>dry-run</code></h4> | |||
| 653 | 653 | <code>dedupe</code>, <code>uninstall</code>, as well as <code>pack</code> and <code>publish</code>.</p> | |
| 654 | 654 | <p>Note: This is NOT honored by other network related commands, eg <code>dist-tags</code>, | |
| 655 | 655 | <code>owner</code>, etc.</p> | |
| 656 | + <h4 id="cpu"><code>cpu</code></h4> | ||
| 657 | + <ul> | ||
| 658 | + <li>Default: null</li> | ||
| 659 | + <li>Type: null or String</li> | ||
| 660 | + </ul> | ||
| 661 | + <p>Override CPU architecture of native modules to install. Acceptable values | ||
| 662 | + are same as <code>cpu</code> field of package.json, which comes from <code>process.arch</code>.</p> | ||
| 663 | + <h4 id="os"><code>os</code></h4> | ||
| 664 | + <ul> | ||
| 665 | + <li>Default: null</li> | ||
| 666 | + <li>Type: null or String</li> | ||
| 667 | + </ul> | ||
| 668 | + <p>Override OS of native modules to install. Acceptable values are same as <code>os</code> | ||
| 669 | + field of package.json, which comes from <code>process.platform</code>.</p> | ||
| 656 | 670 | <h4 id="workspace"><code>workspace</code></h4> | |
| 657 | 671 | <ul> | |
| 658 | 672 | <li>Default:</li> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -160,7 +160,7 @@ <h3 id="description">Description</h3> | |||
| 160 | 160 | the results to only the paths to the packages named. Note that nested | |
| 161 | 161 | packages will <em>also</em> show the paths to the specified packages. For | |
| 162 | 162 | example, running <code>npm ls promzard</code> in npm's source tree will show:</p> | |
| 163 | - <pre><code class="language-bash">npm@10.0.0 /path/to/npm | ||
| 163 | + <pre><code class="language-bash">npm@10.1.0 /path/to/npm | ||
| 164 | 164 | └─┬ init-package-json@0.0.4 | |
| 165 | 165 | └── promzard@0.1.5 | |
| 166 | 166 | </code></pre> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -150,7 +150,7 @@ <h2 id="table-of-contents">Table of contents</h2> | |||
| 150 | 150 | </code></pre> | |
| 151 | 151 | <p>Note: This command is unaware of workspaces.</p> | |
| 152 | 152 | <h3 id="version">Version</h3> | |
| 153 | - <p>10.0.0</p> | ||
| 153 | + <p>10.1.0</p> | ||
| 154 | 154 | <h3 id="description">Description</h3> | |
| 155 | 155 | <p>npm is the package manager for the Node JavaScript platform. It puts | |
| 156 | 156 | modules in place so that node can find them, and manages dependency | |
| Back | FazBrowse Home | New Git URL |
0 commit comments