Install curl on Mac OS with libssh2 (sftp) support brew install marcelomazza/homebrew-curl-libssh2/curl If you need to have curl first in your PATH run: echo 'export PATH="/usr/local/opt/curl/bin:$PATH"' >> ~/.bash_profile