Lines Matching full:package
4 description: Symlink a package folder
9 ## Symlink a package folder
14 npm link (in package dir)
22 Package linking is a two-step process.
24 First, `npm link` in a package folder will create a symlink in the global folder
25 `{prefix}/lib/node_modules/<package>` that links to the package where the `npm
26 link` command was executed. It will also link any bins in the package to `{prefix}/bin/{name}`.
29 Next, in some other location, `npm link package-name` will create a
30 symbolic link from globally-installed `package-name` to `node_modules/`
33 Note that `package-name` is taken from `package.json`,
36 The package name can be optionally prefixed with a scope. See [`scope`](/using-npm/npm-scope).
48 cd ~/projects/node-redis # go into the package directory
50 cd ~/projects/node-bloggy # go into some other package directory.
51 npm link redis # link-install the package
56 be to the package name, not the directory name for that package.
77 rather than the package name `redis`.
79 If your linked package is scoped (see [`scope`](/using-npm/npm-scope)) your link command must inclu…
88 * [package.json](/configuring-npm/package-json)