Files
cheatsheet-tldr/tldr/npm-edit
2025-12-20 00:20:53 +00:00

15 lines
446 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# npm edit
> Select a dependency in the current project and open the package folder in the default editor (`$EDITOR`).
> After editing, the package is rebuilt to pick up any changes in compiled packages.
> More information: <https://docs.npmjs.com/cli/npm-edit/>.
- Edit a locally installed package in the default editor:
`npm edit {{package_name}}`