diff --git a/README.md b/README.md index cc93302e3..e0e4e73b0 100644 --- a/README.md +++ b/README.md @@ -49,15 +49,6 @@ Global installation of Composer (manual) Follow instructions [in the documentation](http://getcomposer.org/doc/00-intro.md#globally) -Global installation of Composer (for OSX/homebrew) ----------------------------------------------- - -Composer is part of the homebrew-php project. - -1. Tap the homebrew-php repository into your brew installation if you haven't done yet: `brew tap josegonzalez/homebrew-php` -2. Run `brew install josegonzalez/php/composer`. -3. Use Composer with the `composer` command. - Updating Composer ----------------- diff --git a/doc/00-intro.md b/doc/00-intro.md index 46ec8bba8..487a6a9e5 100644 --- a/doc/00-intro.md +++ b/doc/00-intro.md @@ -91,6 +91,15 @@ You can run these commands to easily access `composer` from anywhere on your sys Then, just run `composer` in order to run Composer instead of `php composer.phar`. +#### Globally (on OSX via homebrew) + +Composer is part of the homebrew-php project. + +1. Tap the homebrew-php repository into your brew installation if you haven't done + so yet: `brew tap josegonzalez/homebrew-php` +2. Run `brew install josegonzalez/php/composer`. +3. Use Composer with the `composer` command. + ## Installation - Windows ### Using the Installer @@ -108,7 +117,7 @@ composer.phar: C:\Users\username>cd C:\bin C:\bin>php -r "eval('?>'.file_get_contents('https://getcomposer.org/installer'));" - + > **Note:** If the above fails due to file_get_contents, use the `http` url or enable php_openssl.dll in php.ini Create a new `composer.bat` file alongside `composer.phar`: