curl command can't be found, OSX utilities have been replaced by GNU coreutils... how to start from scratch?
Something seems to have changed your curl binary. To fix it, run

sudo rm -f /usr/bin/curl-wrapper
sudo mv /usr/bin/curl.bin /usr/bin/curl