summaryrefslogtreecommitdiff
path: root/deps/npm/docs/content/cli-commands/npm-root.md
blob: dc766a7b092f53568bd198b97598eda289a34067 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
---
section: cli-commands
title: npm-root
description: Display npm root
---

# npm-root

## Display npm root

### Synopsis
```bash
npm root [-g]
```

### Description

Print the effective `node_modules` folder to standard out.

### See Also

* [npm prefix](/cli-commands/npm-prefix)
* [npm bin](/cli-commands/npm-bin)
* [npm folders](/configuring-npm/folders)
* [npm config](/cli-commands/npm-config)
* [npmrc](/configuring-npm/npmrc)