1
0
Fork 0

Move homebrew docs to the docs

pull/2327/merge
Jordi Boggiano 2013-10-16 16:24:48 +02:00
parent f220da8065
commit 28abb08da8
2 changed files with 10 additions and 10 deletions

View File

@ -49,15 +49,6 @@ Global installation of Composer (manual)
Follow instructions [in the documentation](http://getcomposer.org/doc/00-intro.md#globally) 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 Updating Composer
----------------- -----------------

View File

@ -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`. 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 ## Installation - Windows
### Using the Installer ### Using the Installer
@ -108,7 +117,7 @@ composer.phar:
C:\Users\username>cd C:\bin C:\Users\username>cd C:\bin
C:\bin>php -r "eval('?>'.file_get_contents('https://getcomposer.org/installer'));" 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 > **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`: Create a new `composer.bat` file alongside `composer.phar`: