Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
npm-edit.144 linesDownload Raw Back to man1
1.TH "NPM-EDIT" "1" "April 2026" "NPM@11.13.0" ""
2.SH "NAME"
3\fBnpm-edit\fR - Edit an installed package
4.SS "Synopsis"
5.P
6.RS 2
7.nf
8npm edit <pkg>\[lB]/<subpkg>...\[rB]
9.fi
10.RE
11.P
12Note: This command is unaware of workspaces.
13.SS "Description"
14.P
15Selects a dependency in the current project and opens the package folder in the default editor (or whatever you've configured as the npm \fBeditor\fR config -- see \fB\[rs]fBnpm-config\[rs]fR\fR \fI\(lanpm-config\(ra\fR.)
16.P
17After it has been edited, the package is rebuilt so as to pick up any changes in compiled packages.
18.P
19For instance, you can do \fBnpm install connect\fR to install connect into your package, and then \fBnpm edit connect\fR to make a few changes to your locally installed copy.
20.SS "Configuration"
21.SS "\fBeditor\fR"
22.RS 0
23.IP \(bu 4
24Default: The EDITOR or VISUAL environment variables, or '%SYSTEMROOT%\[rs]notepad.exe' on Windows, or 'vi' on Unix systems
25.IP \(bu 4
26Type: String
27.RE 0
28
29.P
30The command to run for \fBnpm edit\fR and \fBnpm config edit\fR.
31.SS "See Also"
32.RS 0
33.IP \(bu 4
34npm help folders
35.IP \(bu 4
36npm help explore
37.IP \(bu 4
38npm help install
39.IP \(bu 4
40npm help config
41.IP \(bu 4
42npm help npmrc
43.RE 0
44 
codekingpro/portable-devtools · Team Ai