diff options
author | Forrest L Norvell <forrest@npmjs.com> | 2015-02-20 09:03:34 -0800 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2015-02-22 07:42:24 +0100 |
commit | 1e2fa1537f9978acbd27db6ee151885ab02346c1 (patch) | |
tree | aa886046ac044759ab2c4650d4b45d2b736dbcde /deps/npm/html/partial/doc/cli/npm-link.html | |
parent | 3ab9b92e90e4bb3ed68457fcb95bc32f17586f3a (diff) | |
download | node-new-1e2fa1537f9978acbd27db6ee151885ab02346c1.tar.gz |
deps: upgrade npm to 2.6.0
PR-URL: https://github.com/iojs/io.js/pull/904
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'deps/npm/html/partial/doc/cli/npm-link.html')
-rw-r--r-- | deps/npm/html/partial/doc/cli/npm-link.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/npm/html/partial/doc/cli/npm-link.html b/deps/npm/html/partial/doc/cli/npm-link.html index c4b01c2a65..1a33cf2c3e 100644 --- a/deps/npm/html/partial/doc/cli/npm-link.html +++ b/deps/npm/html/partial/doc/cli/npm-link.html @@ -24,14 +24,14 @@ npm link # creates global link cd ~/projects/node-bloggy # go into some other package directory. npm link redis # link-install the package </code></pre><p>Now, any changes to ~/projects/node-redis will be reflected in -~/projects/node-bloggy/node_modules/redis/</p> +~/projects/node-bloggy/node_modules/node-redis/</p> <p>You may also shortcut the two steps in one. For example, to do the above use-case in a shorter way:</p> <pre><code>cd ~/projects/node-bloggy # go into the dir of your main project npm link ../node-redis # link the dir of your dependency </code></pre><p>The second line is the equivalent of doing:</p> <pre><code>(cd ../node-redis; npm link) -npm link redis +npm link node-redis </code></pre><p>That is, it first creates a global link, and then links the global installation target into your project's <code>node_modules</code> folder.</p> <p>If your linked package is scoped (see <code><a href="../misc/npm-scope.html">npm-scope(7)</a></code>) your link command must |