File Explorer

/var/lang/lib/node_modules/npm/man/man1

This explorer reads the filesystem of the server it runs on, so /workspace/user isn't present here. Browsing and the terminal still work against this server's own disk from /.

0 dirs
70 files
npm-set.11.6 KB · 62 lines
.TH "NPM-SET" "1" "February 2026" "NPM@11.11.0" "".SH "NAME"\fBnpm-set\fR - Set a value in the npm configuration.SS "Synopsis".P.RS 2.nfnpm set <key>=<value> \[lB]<key>=<value> ...\[rB] (See `npm config`).fi.RE.PNote: This command is unaware of workspaces..SS "Description".PSet a value in the npm configuration.SS "Configuration".SS "\fBglobal\fR".RS 0.IP \(bu 4Default: false.IP \(bu 4Type: Boolean.RE 0 .POperates in "global" mode, so that packages are installed into the \fBprefix\fR folder instead of the current working directory. See npm help folders for more on the differences in behavior..RS 0.IP \(bu 4packages are installed into the \fB{prefix}/lib/node_modules\fR folder, instead of the current working directory..IP \(bu 4bin files are linked to \fB{prefix}/bin\fR.IP \(bu 4man pages are linked to \fB{prefix}/share/man\fR.RE 0 .SS "\fBlocation\fR".RS 0.IP \(bu 4Default: "user" unless \fB--global\fR is passed, which will also set this value to "global".IP \(bu 4Type: "global", "user", or "project".RE 0 .PWhen passed to \fBnpm config\fR this refers to which config file to use..PWhen set to "global" mode, packages are installed into the \fBprefix\fR folder instead of the current working directory. See npm help folders for more on the differences in behavior..RS 0.IP \(bu 4packages are installed into the \fB{prefix}/lib/node_modules\fR folder, instead of the current working directory..IP \(bu 4bin files are linked to \fB{prefix}/bin\fR.IP \(bu 4man pages are linked to \fB{prefix}/share/man\fR.RE 0 .SS "See Also".RS 0.IP \(bu 4npm help "help config".RE 0