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-12-08 05:30:25 +0300
committerisaacs <i@izs.me>2010-12-08 05:30:25 +0300
commit5e04f23d8e6408f665302c49558f0cb266868ebf (patch)
tree0013df5b9eca787eff2bb0fd3a4444d8c5d3ce10 /README.md
parent210c6ba1d8b3c01da4dbb04938a1d573c90d4098 (diff)
Spruce up the install cmd a bit
Diffstat (limited to 'README.md')
-rw-r--r--README.md26
1 files changed, 20 insertions, 6 deletions
diff --git a/README.md b/README.md
index 25c1d1055..019707bb3 100644
--- a/README.md
+++ b/README.md
@@ -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