1
0
Fork 0

Update README

pull/260/head
Jordi Boggiano 2012-01-24 22:49:57 +01:00
parent 6b2e53836b
commit 54dece1dc7
1 changed files with 6 additions and 5 deletions

View File

@ -13,7 +13,7 @@ Installation / Usage
1. Download the [`composer.phar`](http://getcomposer.org/composer.phar) executable or use the installer.
$ curl http://getcomposer.org/installer | php
$ curl -s http://getcomposer.org/installer | php
2. Create a composer.json defining your dependencies. Note that this example is
@ -48,10 +48,11 @@ Since composer works with the current working directory it is possible to instal
in a system wide way.
1. Change into a directory in your path like `cd /usr/local/bin`
2. Get composer `curl http://getcomposer.org/installer | php`
2. Get composer `curl -s http://getcomposer.org/installer | php`
3. Make the phar executeable `chmod a+x composer.phar`
3. Change into a project directory `cd /path/to/my/project`
4. Use composer as you normally would `composer.phar install`
4. Change into a project directory `cd /path/to/my/project`
5. Use composer as you normally would `composer.phar install`
6. Optionally you can rename the composer.phar to composer to make it easier
Global installation of composer (via homebrew)
----------------------------------------------