This tutorial is specific to OSX users currently. I haven't tested it anywhere else. If you can help in writing for other environments, please do contribute.
brew update
brew tap caskroom/cask
brew install brew-cask-completion
brew tap caskroom/versions