diff options
author | Alex Ford <Alex.Ford@CodeTunnel.com> | 2014-04-18 07:35:44 +0400 |
---|---|---|
committer | Domenic Denicola <domenic@domenicdenicola.com> | 2014-04-18 07:35:44 +0400 |
commit | 5232884962049a5cf4068b56f388440ba599ad85 (patch) | |
tree | bf9df34a6d0609c3305a622e7ea5dc71ec4552a3 /README.md | |
parent | 2e3776bf5676bc24fec6239a3420f377fe98acde (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.md | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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: |