diff options
author | npm-cli+bot@github.com <npm CLI robot> | 2022-05-26 00:26:36 +0300 |
---|---|---|
committer | Ruy Adorno <ruyadorno@hotmail.com> | 2022-05-27 18:13:35 +0300 |
commit | 6375b13de86d0e993e0e2798ce77c5812598b953 (patch) | |
tree | 9e286e5d7164cbf78bab3b4c66762f977100171d /deps/npm/docs/output/commands/npm-config.html | |
parent | 331088f4a450e29f3ea8a28a9f98ccc9f8951386 (diff) |
deps: upgrade npm to 8.11.0
PR-URL: https://github.com/nodejs/node/pull/43210
Reviewed-By: Ruy Adorno <ruyadorno@github.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
Reviewed-By: Beth Griggs <bgriggs@redhat.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'deps/npm/docs/output/commands/npm-config.html')
-rw-r--r-- | deps/npm/docs/output/commands/npm-config.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/deps/npm/docs/output/commands/npm-config.html b/deps/npm/docs/output/commands/npm-config.html index f8b279756df..e267531fc04 100644 --- a/deps/npm/docs/output/commands/npm-config.html +++ b/deps/npm/docs/output/commands/npm-config.html @@ -223,6 +223,8 @@ saving them to your <code>package.json</code>.</li> <ul> <li>Default: false</li> <li>Type: Boolean</li> +<li>DEPRECATED: <code>--global</code>, <code>--local</code> are deprecated. Use <code>--location=global</code> +instead.</li> </ul> <p>Operates in "global" mode, so that packages are installed into the <code>prefix</code> folder instead of the current working directory. See @@ -251,6 +253,15 @@ to "global"</li> <li>Type: "global", "user", or "project"</li> </ul> <p>When passed to <code>npm config</code> this refers to which config file to use.</p> +<p>When set to "global" mode, packages are installed into the <code>prefix</code> folder +instead of the current working directory. See +<a href="../configuring-npm/folders.html">folders</a> for more on the differences in behavior.</p> +<ul> +<li>packages are installed into the <code>{prefix}/lib/node_modules</code> folder, instead +of the current working directory.</li> +<li>bin files are linked to <code>{prefix}/bin</code></li> +<li>man pages are linked to <code>{prefix}/share/man</code></li> +</ul> <!-- raw HTML omitted --> <!-- raw HTML omitted --> <h4 id="long"><code>long</code></h4> |