You will need to install a web server before installing anything else. You can do that by installing the MAMP server using the following prepackaged development environment:
Once you install the MAMP server, you can install Composer using the following command line:
$ brew tap josegonzalez/homebrew-php $ brew install josegonzalez/php/composer
Or if you don't have homebrew installed, use the following command:
$ php -r "eval('?>'.file_get_contents('https://getcomposer.org/installer'));"
This will install Composer into the local directory of your project. To install it globally, you can copy your
composer.phar file to your
bin directory in
Now you can download ...