1ac4164ad81e5ba4b29b7a6d11ec135bdbf270dd
[platform/upstream/nodejs.git] / deps / npm / man / man1 / npm-edit.1
1 .\" Generated with Ronnjs 0.3.8
2 .\" http://github.com/kapouer/ronnjs/
3 .
4 .TH "NPM\-EDIT" "1" "November 2013" "" ""
5 .
6 .SH "NAME"
7 \fBnpm-edit\fR \-\- Edit an installed package
8 .
9 .SH "SYNOPSIS"
10 .
11 .nf
12 npm edit <name>[@<version>]
13 .
14 .fi
15 .
16 .SH "DESCRIPTION"
17 Opens the package folder in the default editor (or whatever you\'ve
18 npm help  configured as the npm \fBeditor\fR config \-\- see \fBnpm\-config\fR\|\.)
19 .
20 .P
21 After it has been edited, the package is rebuilt so as to pick up any
22 changes in compiled packages\.
23 .
24 .P
25 For instance, you can do \fBnpm install connect\fR to install connect
26 into your package, and then \fBnpm edit connect\fR to make a few
27 changes to your locally installed copy\.
28 .
29 .SH "CONFIGURATION"
30 .
31 .SS "editor"
32 .
33 .IP "\(bu" 4
34 Default: \fBEDITOR\fR environment variable if set, or \fB"vi"\fR on Posix,
35 or \fB"notepad"\fR on Windows\.
36 .
37 .IP "\(bu" 4
38 Type: path
39 .
40 .IP "" 0
41 .
42 .P
43 The command to run for \fBnpm edit\fR or \fBnpm config edit\fR\|\.
44 .
45 .SH "SEE ALSO"
46 .
47 .IP "\(bu" 4
48 npm help  folders
49 .
50 .IP "\(bu" 4
51 npm help explore
52 .
53 .IP "\(bu" 4
54 npm help install
55 .
56 .IP "\(bu" 4
57 npm help config
58 .
59 .IP "\(bu" 4
60 npm help  config
61 .
62 .IP "\(bu" 4
63 npm help  npmrc
64 .
65 .IP "" 0
66