I am trying to install xcode command line tools on OS X El Capitan in order to be able to install homebrew
. So far, all the advice I've looked at (e.g. http://railsapps.github.io/xcode-command-line-tools.html, http://osxdaily.com/2014/02/12/install-command-line-tools-mac-os-x/, Command Line Tools not working - OS X El Capitan/ macOS-sierra) are not working. Is there any alternate route anyone can recommend? When I try the recommended trouble shooting from the posts above, I get nonsense errors:
xcode-select: command not found
ip-10-4-89-242 ~ $ gcc
gcc: fatal error: no input files
compilation terminated.
ip-10-4-89-242 ~ $ xcode-select --install
xcode-select: command not found