1
0
Fork 0

Add Section to README.md

Information about installing composer in a system wide PEAR like way.

Change bin path

More readme updating on global install
pull/90/head
Henrik Bjørnskov 2011-11-04 11:55:08 +01:00
parent 2ff8858370
commit 46295bbe51
1 changed files with 12 additions and 0 deletions

View File

@ -34,6 +34,18 @@ file as described above.
2. Download the [`composer.phar`](http://getcomposer.org/composer.phar) executable
3. Run Composer to get the dependencies: `php composer.phar install`
Global installation of composer
-------------------------------
Since composer works with the current working directory it is possible to install it
in a system wide way.
1. Change into a directory in your path like `cd /usr/local/bin`
2. Get composer `wget http://getcomposer.org/composer.phar`
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`
Contributing
------------