1 ---
2 title: npm-root
3 section: 1
4 description: Display npm root
5 github_repo: npm/cli
6 github_branch: release/v6
7 github_path: docs/content/commands/npm-root.md
8 redirect_from:
9 - /cli-documentation/v6/cli-commands/npm-root
10 - /cli-documentation/v6/cli-commands/root
11 - /cli-documentation/v6/commands/npm-root
12 - /cli-documentation/v6/commands/root
13 - /cli-documentation/v6/npm-root
14 - /cli-documentation/v6/root
15 - /cli/v6/cli-commands/npm-root
16 - /cli/v6/cli-commands/root
17 - /cli/v6/commands/root
18 - /cli/v6/npm-root
19 - /cli/v6/root
20 ---
21
22 ### Synopsis
23
24 ```bash
25 npm root [-g]
26 ```
27
28 ### Description
29
30 Print the effective `node_modules` folder to standard out.
31
32 ### See Also
33
34 - [npm prefix](/cli/v6/commands/npm-prefix)
35 - [npm bin](/cli/v6/commands/npm-bin)
36 - [npm folders](/cli/v6/configuring-npm/folders)
37 - [npm config](/cli/v6/commands/npm-config)
38 - [npmrc](/cli/v6/configuring-npm/npmrc)