Commands in the Mac terminal

I tried to install Composer on OSX 10.10.3 following the site 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?

Author: Gabe, 2015-06-10

1 answers

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

Or

curl -k https://getcomposer.org/installer | php
 1
Author: Luiz, 2015-07-22 00:00:16