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:
authorAlex Ford <Alex.Ford@CodeTunnel.com>2014-04-18 07:35:44 +0400
committerDomenic Denicola <domenic@domenicdenicola.com>2014-04-18 07:35:44 +0400
commit5232884962049a5cf4068b56f388440ba599ad85 (patch)
treebf9df34a6d0609c3305a622e7ea5dc71ec4552a3 /README.md
parent2e3776bf5676bc24fec6239a3420f377fe98acde (diff)
Give example curl script for installation.
Added a simple example of installing npm by itself via curl. This helps solve [an issue](Homebrew/homebrew#27479) with the node homebrew formula where users will want a simple way to install npm after installing node. Homebrew maintainers would rather see this curl example in the npm README rather than directly in the node formula. It also just helps in general to have an example when users find the npm README and want to use the shell script.
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/README.md b/README.md
index 2383245b8..0c08862fc 100644
--- a/README.md
+++ b/README.md
@@ -38,6 +38,10 @@ paths, etc.) then read on.
There's a pretty robust install script at
<https://www.npmjs.org/install.sh>. You can download that and run it.
+Here's an example using curl:
+
+ curl -L https://npmjs.org/install.sh | sh
+
### Slightly Fancier
You can set any npm configuration params with that script: