1NPM-PREFIX(1)                                                    NPM-PREFIX(1)
2
3
4

NAME

6       npm-prefix - Display prefix
7

SYNOPSIS

9         npm prefix [-g]
10

DESCRIPTION

12       Print  the  local  prefix  to  standard out. This is the closest parent
13       directory to contain a package.json  file  or  node_modules  directory,
14       unless -g is also specified.
15
16       If  -g  is  specified, this will be the value of the global prefix. See
17       npm help 7 npm-config for more detail.
18

SEE ALSO

20       · npm help root
21
22       · npm help bin
23
24       · npm help 5 folders
25
26       · npm help config
27
28       · npm help 7 config
29
30       · npm help 5 npmrc
31
32
33
34
35
36                                  April 2019                     NPM-PREFIX(1)
Impressum