If you have the node package manager, npm, installed:
npm install -g thes
Its simple! In the terminal type:
thes hello
You can specify more options
thes hello {noun/verb/adjective ...} {syn/ant ...}
Thes works on http://words.bighugelabs.com api, so if they are down so is the app :)