From 46295bbe51b9b27c76e61551f3d85b93f32afbba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Bj=C3=B8rnskov?= Date: Fri, 4 Nov 2011 11:55:08 +0100 Subject: [PATCH] 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 --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 32293404d..7e0b9af62 100644 --- a/README.md +++ b/README.md @@ -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 ------------