1NPM-BIN(1) NPM-BIN(1)
2
3
4
6 npm-bin - Display npm bin folder
7
8 Synopsis
9 npm bin
10
11 Note: This command is unaware of workspaces.
12
13 Description
14 Print the folder where npm will install executables.
15
16 Configuration
17 global
18 • Default: false
19
20 • Type: Boolean
21
22
23 Operates in "global" mode, so that packages are installed into the pre‐
24 fix folder instead of the current working directory. See npm help fold‐
25 ers for more on the differences in behavior.
26
27 • packages are installed into the {prefix}/lib/node_modules folder, in‐
28 stead of the current working directory.
29
30 • bin files are linked to {prefix}/bin
31
32 • man pages are linked to {prefix}/share/man
33
34
35 See Also
36 • npm help prefix
37
38 • npm help root
39
40 • npm help folders
41
42 • npm help config
43
44 • npm help npmrc
45
46
47
48
49 September 2022 NPM-BIN(1)