I am installing composer with the following cammand
curl -s https://getcomposer.org/installer | php
But I am keep getting below err
sudo curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin
Run this command and it will work, so i think :D