1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 19:22:08 +02:00
tldr/pages/common/npm-root.md
CanonNi c7786754fd
npm-root: add page (#14581)
Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
2024-11-02 16:12:07 +01:00

12 lines
268 B
Markdown

# npm root
> Display path to `node_modules` directory.
> More information: <https://docs.npmjs.com/cli/commands/npm-root>.
- Display path to the local `node_modules` directory:
`npm root`
- Display path to the global `node_modules` directory:
`npm root --global`