2019-11-05 14:55:08 -05:00
|
|
|
.TH "NPM\-PREFIX" "" "November 2019" "" ""
|
2011-11-26 09:21:03 -08:00
|
|
|
.SH "NAME"
|
2019-11-05 14:55:08 -05:00
|
|
|
\fBnpm-prefix\fR
|
|
|
|
.SH Display prefix
|
|
|
|
.SS Synopsis
|
2014-09-24 14:41:07 -07:00
|
|
|
.P
|
|
|
|
.RS 2
|
2014-11-04 15:08:12 -08:00
|
|
|
.nf
|
2014-09-24 14:41:07 -07:00
|
|
|
npm prefix [\-g]
|
2014-11-04 15:08:12 -08:00
|
|
|
.fi
|
2014-09-24 14:41:07 -07:00
|
|
|
.RE
|
2019-11-05 14:55:08 -05:00
|
|
|
.SS Description
|
2014-09-24 14:41:07 -07:00
|
|
|
.P
|
|
|
|
Print the local prefix to standard out\. This is the closest parent directory
|
2019-01-29 14:43:00 -08:00
|
|
|
to contain a \fBpackage\.json\fP file or \fBnode_modules\fP directory, unless \fB\-g\fP is
|
|
|
|
also specified\.
|
2014-09-24 14:41:07 -07:00
|
|
|
.P
|
2015-07-24 15:09:52 -07:00
|
|
|
If \fB\-g\fP is specified, this will be the value of the global prefix\. See
|
2019-11-05 14:55:08 -05:00
|
|
|
\fBnpm\-config\fP \fInpm\-config\fR for more detail\.
|
|
|
|
.SS See Also
|
2014-09-24 14:41:07 -07:00
|
|
|
.RS 0
|
|
|
|
.IP \(bu 2
|
2019-11-05 14:55:08 -05:00
|
|
|
npm help npm\-root
|
2014-09-24 14:41:07 -07:00
|
|
|
.IP \(bu 2
|
2019-11-05 14:55:08 -05:00
|
|
|
npm help npm\-bin
|
2014-09-24 14:41:07 -07:00
|
|
|
.IP \(bu 2
|
2019-11-05 14:55:08 -05:00
|
|
|
npm help folders
|
2014-09-24 14:41:07 -07:00
|
|
|
.IP \(bu 2
|
2019-11-05 14:55:08 -05:00
|
|
|
npm help npm\-config
|
2014-09-24 14:41:07 -07:00
|
|
|
.IP \(bu 2
|
2019-11-05 14:55:08 -05:00
|
|
|
npm help npmrc
|
2014-09-24 14:41:07 -07:00
|
|
|
|
|
|
|
.RE
|