Permalink
Browse files

Spruce up the install cmd a bit

  • Loading branch information...
1 parent 210c6ba commit 5e04f23d8e6408f665302c49558f0cb266868ebf @isaacs isaacs committed Dec 8, 2010
Showing with 20 additions and 6 deletions.
  1. +20 −6 README.md
View
@@ -2,7 +2,7 @@
This is just enough info to get you up and running.
-More info available via `npm help` once it's installed.
+Much more info available via `npm help` once it's installed.
## IMPORTANT
@@ -12,7 +12,7 @@ You shouldn't use sudo with it.
## Simple Install
-To install npm, do this:
+To install npm with one command, do this:
curl http://npmjs.org/install.sh | sh
@@ -22,6 +22,18 @@ If that fails, try this:
cd npm
make
+If you're sitting in the code folder reading this document in your
+terminal, then you've already got the code. Just do:
+
+ make
+
+and npm will install itself.
+
+If you don't have make, and don't have curl or git, and ALL you have is
+this code and node, you can do:
+
+ node ./cli.js install npm
+
## Permission Errors
If it dies with a "Permission Denied" or EACCESS error, then that probably
@@ -81,7 +93,8 @@ so eventually it'll actually be *safer* to run as root than as a user account,
but that's a refactor that is slowly progressing.
If you have feelings about sudo use and what it should imply, then please go add
-some comments and thoughts on [this issue](http://github.com/isaacs/npm/issues/issue/294).
+some comments and thoughts on
+[this issue](http://github.com/isaacs/npm/issues/issue/294).
## More Fancy Installing
@@ -140,10 +153,11 @@ this section will likely be split out into its own documentation page.
## More Docs
-Check out the [docs](http://github.com/isaacs/npm/blob/master/doc/).
+Check out the [docs](http://github.com/isaacs/npm/blob/master/doc/),
+especially the
+[faq](http://github.com/isaacs/npm/blob/master/doc/faq.md#readme).
-You can use the [npm help](http://github.com/isaacs/npm/blob/master/doc/help.md#readme)
-command to read any of them.
+You can use the `npm help` command to read any of them.
If you're a developer, and you want to use npm to publish your program,
you should

0 comments on commit 5e04f23

Please sign in to comment.