Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2010-07-23 10:17:13 +0400
committerisaacs <i@izs.me>2010-07-25 05:51:21 +0400
commit4ad295c09834965b7e6e0fcf45d8d7e4fe6ad98d (patch)
tree68c15ac28be173b303c90f3ab3e388d2dd5dbfed /man/help.1
parent9eddacd17b3d846bda0512a47c07341569747072 (diff)
make doc
Diffstat (limited to 'man/help.1')
-rw-r--r--man/help.179
1 files changed, 76 insertions, 3 deletions
diff --git a/man/help.1 b/man/help.1
index 76256e43d..fb321eb3c 100644
--- a/man/help.1
+++ b/man/help.1
@@ -14,8 +14,81 @@ npm help <section>
.
.fi
.
+.SH "DESCRIPTION"
+\fB<section>\fR is one of: activate adduser build cache coding\-style config deactivate developers folders help install json link list ln ls npm publish registry restart rm scripts start stop tag test uninstall unpublish
+.
+.SH "12\-second Intro"
+You probably got npm because you want to install stuff\.
+.
+.P
+Use \fBnpm install blerg\fR to install the latest version of "blerg"\. Check out \fBnpm help install\fR for more info\. It can do a lot of stuff\.
+.
+.P
+Use the \fBnpm ls\fR command to show everything that\'s available\. Looking for express\-related modules? \fBnpm ls express\fR\. Looking for the latest express? \fBnpm ls express latest\fR\. (The arguments are just simple greps\.) And of course, \fBnpm help ls\fR will tell you more\.
+.
+.P
+Use \fBnpm ls installed\fR to show everything you\'ve installed\.
+.
+.SH "Where to go for help"
+Come bug isaacs in irc://freenode\.net#node\.js\. He\'ll ask you to copy the npm output to a pastie or gist, and perhaps to post an issue if it\'s a new bug\.
+.
.P
-Where \fB<section>\fR is one of: activate adduser build cache coding\-style config deactivate developers folders help install json link list ln ls npm publish registry restart rm scripts start stop tag test uninstall unpublish
+Failing that, report the issue:
+.
+.TP
+web
+\fIhttp://github\.com/isaacs/npm/issues\fR
+.
+.TP
+email
+\fInpm\-@googlegroups\.com\fR
+.
+.P
+If you ask something that\'s answered by this doc, you may be told to RTFM\. So, save yourself some time and read it now\.
+.
+.SH "Configs"
+Use the \fBnpm config\fR command to manage how npm does stuff and where it puts things\. It stores your configs in the \fB~/\.npmrc\fR file\. Check \fBnpm help config\fR for more info on that, if you care\.
.
-.SH "Todo"
-It\'d be nice if this page was automatically generated so that it stays up to date better\.
+.P
+You can override any config for just a single command by doing \fB\-\-configname value\fR on the command line\.
+.
+.SH "Developers"
+If you\'re using npm to develop and publish your code, check out the following topics:
+.
+.TP
+json
+Make a package\.json file\. The "json" help doc will tell you what to put in it\.
+.
+.TP
+link
+For linking your current working code into Node\'s path, so that you don\'t have to reinstall every time you make a change\. Use "npm link" to do this\.
+.
+.TP
+install
+It\'s a good idea to install things if you don\'t need the symbolic link\. Especially, installing other peoples code from the registry is done via "npm install"\.
+.
+.TP
+adduser
+Use the \fBnpm adduser\fR command to add a user account for the npm registry, or to authorize yourself on a new machine\. If you forget your password, send an email to \fInpm\-@googlegroups\.com\fR and we\'ll delete your account so you can recreate it\.
+.
+.TP
+publish
+Use the \fBnpm publish\fR command to upload your code to the registry, so that other people can install it easily\.
+.
+.SH "Contributing"
+Patches welcome!
+.
+.TP
+code
+Read through \fBnpm help coding\-style\fR if you plan to submit code\. You don\'t have to agree with it, but you do have to follow it\.
+.
+.TP
+docs
+If you find an error in the documentation, edit the appropriate markdown file in the "doc" folder\. If you have the "ronn" gem installed, then you can \fBmake doc\fR to build the man page, but this is not necessary for your patch to be accepted\.
+.
+.TP
+tests
+The tests are pretty limited\. It would be great to perhaps use something like expresso or vows\.
+.
+.P
+Contributors are listed in npm\'s \fBpackage\.json\fR file\.