Browse files

Closes GH-623 correct branch checkout instruction

  • Loading branch information...
1 parent 2a00ad4 commit 8ee3c3eba1ca063eaa613309cd956ddcae29b760 @isaacs isaacs committed Feb 21, 2011
Showing with 10 additions and 8 deletions.
  1. +10 −8
@@ -12,26 +12,24 @@ To install on older versions of node, do the following:
git clone git:// ./npm
cd npm
- git checkout 0.2
+ git checkout origin/0.2
make dev
## Simple Install
To install npm with one command, do this:
- curl | sudo sh
+ curl | sh
If that fails, try this:
git clone
cd npm
- git submodule update --init
sudo make install
If you're sitting in the code folder reading this document in your
terminal, then you've already got the code. Just do:
- git submodule update --init
sudo make install
and npm will install itself.
@@ -43,10 +41,14 @@ this code and node, you can do:
## Permissions
-**tl;dr** Use `sudo` when running the `install`,
-`rm`, and `test` commands. If you forget, that's fine, it'll fail and
-remind you. If you want it back the way it was, do `npm config set
-unsafe-perm true`
+* Use `sudo` for greater safety.
+* To enforce this added safety, do `npm config set unsafe-perm false`,
+ or add `--no-unsafe` to the command line.
+* npm will downgrade permissions if it's root before running any build
+ scripts that package authors specified.
+* If you were fine before, you can safely ignore this change.
### More details...

0 comments on commit 8ee3c3e

Please sign in to comment.