Browse Source

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
Henrik Bjørnskov 13 years ago
parent
commit
46295bbe51
1 changed files with 12 additions and 0 deletions
  1. 12 0
      README.md

+ 12 - 0
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
 ------------