diff options
author | isaacs <i@izs.me> | 2011-09-08 11:51:51 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2011-09-08 11:51:51 +0400 |
commit | 6740f2a107a4e24d04b5a79474dd63d5d4e45656 (patch) | |
tree | 081548ee619307fc63ba3304b629dd08d9dcbef8 /html | |
parent | 6f7ccb3d70002ebcb0e8979f31128bd567280521 (diff) |
Add 'curl|sudo sh' instructions
Diffstat (limited to 'html')
-rw-r--r-- | html/doc/README.html | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/html/doc/README.html b/html/doc/README.html index 6c2df8e0f..7eeb726d0 100644 --- a/html/doc/README.html +++ b/html/doc/README.html @@ -35,7 +35,18 @@ and prior, clone the git repo and dig through the old tags and branches.</p> <pre><code>curl http://npmjs.org/install.sh | clean=yes sh</code></pre> -<p>If that fails, try this:</p> +<p>If you get permission errors, you can either install node someplace that +you have permission to write to (recommended!) or you <em>can</em> place a <strong>very +unsafe amount of trust</strong> in me, and in your network, and do this:</p> + +<pre><code>curl http://npmjs.org/install.sh | sudo sh</code></pre> + +<p><strong>Note</strong>: You need to <code>sudo</code> the <code>sh</code>, <strong>not</strong> the <code>curl</code>. Fetching stuff +from the internet typically doesn't require elevated permissions.</p> + +<h2 id="Dev-Install">Dev Install</h2> + +<p>To install the latest <strong>unstable</strong> development version from git:</p> <pre><code>git clone https://github.com/isaacs/npm.git cd npm |