From c7786754fdfd1cb8295cd6f65e69d95455e5d036 Mon Sep 17 00:00:00 2001 From: CanonNi Date: Sat, 2 Nov 2024 23:12:07 +0800 Subject: [PATCH] npm-root: add page (#14581) Co-authored-by: Wiktor Perskawiec --- pages/common/npm-root.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 pages/common/npm-root.md diff --git a/pages/common/npm-root.md b/pages/common/npm-root.md new file mode 100644 index 000000000..2932585d9 --- /dev/null +++ b/pages/common/npm-root.md @@ -0,0 +1,12 @@ +# npm root + +> Display path to `node_modules` directory. +> More information: . + +- Display path to the local `node_modules` directory: + +`npm root` + +- Display path to the global `node_modules` directory: + +`npm root --global`