diff options
Diffstat (limited to 'deps/npm/html/doc/files/npm-global.html')
-rw-r--r-- | deps/npm/html/doc/files/npm-global.html | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/deps/npm/html/doc/files/npm-global.html b/deps/npm/html/doc/files/npm-global.html index 637b45c38..cb2b56c29 100644 --- a/deps/npm/html/doc/files/npm-global.html +++ b/deps/npm/html/doc/files/npm-global.html @@ -41,6 +41,11 @@ When installing locally, this means that you can <p>Global installs on Unix systems go to <code>{prefix}/lib/node_modules</code>. Global installs on Windows go to <code>{prefix}/node_modules</code> (that is, no <code>lib</code> folder.)</p> +<p>Scoped packages are installed the same way, except they are grouped together +in a sub-folder of the relevant <code>node_modules</code> folder with the name of that +scope prefix by the @ symbol, e.g. <code>npm install @myorg/package</code> would place +the package in <code>{prefix}/node_modules/@myorg/package</code>. See <code><a href="../misc/scopes.html">scopes(7)</a></code> for +more details.</p> <p>If you wish to <code>require()</code> a package, then install it locally.</p> <h3 id="executables">Executables</h3> <p>When in global mode, executables are linked into <code>{prefix}/bin</code> on Unix, @@ -179,5 +184,5 @@ cannot be found elsewhere. See <code><a href="../files/package.json.html">packa <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr> </table> -<p id="footer">npm-folders — npm@1.4.28</p> +<p id="footer">npm-folders — npm@2.0.0</p> |