1NPM-BIN(1) NPM-BIN(1)
2
3
4
6 npm-bin - Display npm bin folder
7
8 Synopsis
9 npm bin [-g|--global]
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 <!-- AUTOGENERATED CONFIG DESCRIPTIONS START --> <!-- automatically
18 generated, do not edit manually --> <!-- see lib/utils/config/defini‐
19 tions.js -->
20
21 global
22 • Default: false
23
24 • Type: Boolean
25
26
27 Operates in "global" mode, so that packages are installed into the pre‐
28 fix folder instead of the current working directory. See npm help fold‐
29 ers for more on the differences in behavior.
30
31 • packages are installed into the {prefix}/lib/node_modules folder, in‐
32 stead of the current working directory.
33
34 • bin files are linked to {prefix}/bin
35
36 • man pages are linked to {prefix}/share/man
37
38 <!-- automatically generated, do not edit manually --> <!-- see
39 lib/utils/config/definitions.js -->
40
41 <!-- AUTOGENERATED CONFIG DESCRIPTIONS END -->
42
43
44 See Also
45 • npm help prefix
46
47 • npm help root
48
49 • npm help folders
50
51 • npm help config
52
53 • npm help npmrc
54
55
56
57
58 January 2022 NPM-BIN(1)