how to install hypre using terminal on OS X 10.9.1
I don't really understand why you say it's safer to install it from the terminal. It's (almost) the same when you install it from the GUI. 

Since the official website uses a form with a CGI, you'll have to download the installer from your browser.