Commands on the Mac terminal

2

I tried to install Composer in OSX 10.10.3 following the site's instructions:

curl -sS https://getcomposer.org/installer | php

and after that I am no longer able to execute the commands curl , ls , among others. The terminal does not execute these commands and returns me the following message:

-bash: curl: command not found 

How can I fix this?

    
asked by anonymous 10.06.2015 / 23:09

1 answer

1

use: wget https://getcomposer.org/installer | php

or

curl -k https://getcomposer.org/installer | php
    
22.07.2015 / 01:39