Installing Composer on OS X
cd ~/
If is there “wget” command in your system. (You can install via Brew (HomeBrew)).
wget -nc https://getcomposer.org/composer.phar
or download via cURL
curl -OL https://getcomposer.org/composer.phar
or (other method)
curl -sS https://getcomposer.org/installer | php
and then
sudo mv composer.phar /usr/local/bin/composer
sudo chmod +x /usr/local/bin/composer
https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx https://www.abeautifulsite.net/installing-composer-on-os-x