Homebrew will automatically download the latest version of a piece of software. For my homework to install "Hive", I have to try a specific version of 'Hive' (version 1.2.1), so I'll search how to install a older version of 'Hive', and here are the results:
Then search for desired packages, for me it would be 'hive'
This gives me the result:
Finally I install that version
And that's how is done!
Reference:
http://apple.stackexchange.com/questions/171530/how-do-i-downgrade-node-or-install-a-specific-previous-version-using-homebrew