From d21994bdbf629c082c47d62734e6bc3aa14b8dab Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Wed, 16 Oct 2013 14:10:42 +0200 Subject: [PATCH] Point to docs for install instructions, fixes #2336 --- README.md | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 90b3dac90..cc93302e3 100644 --- a/README.md +++ b/README.md @@ -16,10 +16,10 @@ Installation / Usage $ curl -sS https://getcomposer.org/installer | php ``` - 2. Create a composer.json defining your dependencies. Note that this example is a short version for applications that are not meant to be published as packages -themselves. To create libraries/packages please read the [guidelines](https://packagist.org/about). +themselves. To create libraries/packages please read the +[documentation](http://getcomposer.org/doc/02-libraries.md). ``` json { @@ -47,17 +47,9 @@ You can now run Composer by executing the `bin/composer` script: `php /path/to/c Global installation of Composer (manual) ---------------------------------------- -Since Composer works with the current working directory it is possible to install it -in a system wide way. +Follow instructions [in the documentation](http://getcomposer.org/doc/00-intro.md#globally) -1. Change into a directory in your path like `cd /usr/local/bin` -2. Get Composer `curl -sS https://getcomposer.org/installer | php` -3. Make the phar executable `chmod a+x composer.phar` -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) +Global installation of Composer (for OSX/homebrew) ---------------------------------------------- Composer is part of the homebrew-php project.