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-05-10 21:38:16 +0400
committerisaacs <i@izs.me>2010-05-10 21:38:16 +0400
commit895281c4edd10541fd3a1abb25e8fb742974bb86 (patch)
treee4e5221b2a6c0e1bff36425218b9fff97de60baa /README.md
parent13e23dd78630934d0893a57ad2ddcd8c1c57bde1 (diff)
Update install instructions.
Diffstat (limited to 'README.md')
-rw-r--r--README.md16
1 files changed, 12 insertions, 4 deletions
diff --git a/README.md b/README.md
index 6d19a2993..773796975 100644
--- a/README.md
+++ b/README.md
@@ -10,7 +10,7 @@ To install npm, do this:
mkdir npm
curl -L http://github.com/isaacs/npm/tarball/stable | tar xz --strip 1 -C npm
- node npm/install-npm.js
+ make
If it dies with a "Permission Denied" or EACCESS error, then that probably
means that you are running node in a shared root-owned location. In that
@@ -23,14 +23,22 @@ options. See npm-config(1)
First, get the code. Maybe use git for this. That'd be cool. Very fancy.
-Once you have the code, run this thing, just like the simple install:
+The default make target is `install-stable`, which downloads the current stable
+version of npm, and installs that for you.
- node install-npm.js
+If you want to install the exact code that you're looking at, the bleeding-edge
+master branch, do this:
+
+ make install
If you'd prefer to just symlink in the current code so you can hack
on it, you can do this:
- npm link .
+ make link
+
+If you check out the Makefile, you'll see that these are just running npm commands
+at the cli.js script directly. You can also use npm without ever installing
+it by using `./cli.js` instead of "npm".
## A note about password security