Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Commit

Permalink
Spruce up the install cmd a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Dec 8, 2010
1 parent 210c6ba commit 5e04f23
Showing 1 changed file with 20 additions and 6 deletions.
26 changes: 20 additions & 6 deletions README.md
Expand Up @@ -2,7 +2,7 @@


This is just enough info to get you up and running. 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 ## IMPORTANT


Expand All @@ -12,7 +12,7 @@ You shouldn't use sudo with it.


## Simple Install ## Simple Install


To install npm, do this: To install npm with one command, do this:


curl http://npmjs.org/install.sh | sh curl http://npmjs.org/install.sh | sh


Expand All @@ -22,6 +22,18 @@ If that fails, try this:
cd npm cd npm
make 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 ## Permission Errors


If it dies with a "Permission Denied" or EACCESS error, then that probably If it dies with a "Permission Denied" or EACCESS error, then that probably
Expand Down Expand Up @@ -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. 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 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 ## More Fancy Installing


Expand Down Expand Up @@ -140,10 +153,11 @@ this section will likely be split out into its own documentation page.


## More Docs ## 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) You can use the `npm help` command to read any of them.
command to read any of them.


If you're a developer, and you want to use npm to publish your program, If you're a developer, and you want to use npm to publish your program,
you should you should
Expand Down

0 comments on commit 5e04f23

Please sign in to comment.