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>2011-09-08 11:51:51 +0400
committerisaacs <i@izs.me>2011-09-08 11:51:51 +0400
commit6740f2a107a4e24d04b5a79474dd63d5d4e45656 (patch)
tree081548ee619307fc63ba3304b629dd08d9dcbef8 /README.md
parent6f7ccb3d70002ebcb0e8979f31128bd567280521 (diff)
Add 'curl|sudo sh' instructions
Diffstat (limited to 'README.md')
-rw-r--r--README.md13
1 files changed, 12 insertions, 1 deletions
diff --git a/README.md b/README.md
index 9ebb2e397..605953865 100644
--- a/README.md
+++ b/README.md
@@ -28,7 +28,18 @@ To say "yes" to the 0.x cleanup, but skip the prompt:
curl http://npmjs.org/install.sh | clean=yes sh
-If that fails, try this:
+If you get permission errors, you can either install node someplace that
+you have permission to write to (recommended!) or you *can* place a **very
+unsafe amount of trust** in me, and in your network, and do this:
+
+ curl http://npmjs.org/install.sh | sudo sh
+
+**Note**: You need to `sudo` the `sh`, **not** the `curl`. Fetching stuff
+from the internet typically doesn't require elevated permissions.
+
+## Dev Install
+
+To install the latest **unstable** development version from git:
git clone https://github.com/isaacs/npm.git
cd npm