Files
cheatsheet-tldr/tldr/npm-link
2025-10-28 00:19:19 +00:00

22 lines
489 B
Plaintext

---
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 link`
- Link a globally linked package into another project's `node_modules`:
`npm link {{package_name}}`
- Unlink a package from the current project:
`npm unlink {{package_name}}`