From ee6a843b8ea77d1eb2cecda0a18fe4921e28f2a6 Mon Sep 17 00:00:00 2001 From: Evan-R Date: Tue, 15 Apr 2014 04:58:44 -0600 Subject: [PATCH] add note for alternate download method in case curl fails --- doc/00-intro.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/00-intro.md b/doc/00-intro.md index 451e9c359..fbb8c3613 100644 --- a/doc/00-intro.md +++ b/doc/00-intro.md @@ -64,6 +64,11 @@ To actually get Composer, we need to do two things. The first one is installing Composer (again, this means downloading it into your project): $ curl -sS https://getcomposer.org/installer | php + +> **Note:** If the above fails for some reason, you can download the installer +> with `php` instead: + + $ php -r "readfile('https://getcomposer.org/installer');" | php This will just check a few PHP settings and then download `composer.phar` to your working directory. This file is the Composer binary. It is a PHAR (PHP