---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# npm link

> Symlink a local package into the global `node_modules` or another project for development.
> More information: <https://docs.npmjs.com/cli/npm-link/>.

- Symlink the current package globally:

`npm {{[ln|link]}}`

- Link a globally linked package into another project's `node_modules`:

`npm {{[ln|link]}} {{package_name}}`

- Unlink a package from the current project:

`npm {{[r|unlink]}} {{package_name}}`
