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`