1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-03-28 21:16:20 +01:00

npm-root: add page (#14581)

Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
This commit is contained in:
CanonNi 2024-11-02 23:12:07 +08:00 committed by GitHub
parent 698bdb1a3d
commit c7786754fd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

12
pages/common/npm-root.md Normal file
View file

@ -0,0 +1,12 @@
# 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`