Update README
parent
6b2e53836b
commit
54dece1dc7
|
@ -13,7 +13,7 @@ Installation / Usage
|
||||||
1. Download the [`composer.phar`](http://getcomposer.org/composer.phar) executable or use the installer.
|
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
|
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.
|
in a system wide way.
|
||||||
|
|
||||||
1. Change into a directory in your path like `cd /usr/local/bin`
|
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. Make the phar executeable `chmod a+x composer.phar`
|
||||||
3. Change into a project directory `cd /path/to/my/project`
|
4. Change into a project directory `cd /path/to/my/project`
|
||||||
4. Use composer as you normally would `composer.phar install`
|
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)
|
Global installation of composer (via homebrew)
|
||||||
----------------------------------------------
|
----------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue