From 3efb2d01d115ae2da29d9a8f40628226de9b036a Mon Sep 17 00:00:00 2001 From: digitalkaoz Date: Mon, 23 Jan 2012 12:10:49 +0100 Subject: [PATCH] added installer note in README --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e3b20a3af..69f5860cd 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,12 @@ See the [about page](http://packagist.org/about) on [packagist.org](http://packa Installation / Usage -------------------- -1. Download the [`composer.phar`](http://getcomposer.org/composer.phar) executable +1. Download the [`composer.phar`](http://getcomposer.org/composer.phar) executable or use the installer. + + + $ curl http://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](http://packagist.org/about). @@ -43,7 +48,7 @@ Since composer works with the current working directory it is possible to instal 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` +2. Get composer `curl http://getcomposer.org/installer | php` 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`