How do I specify a version number when installing something with brew cask install
?
If you can't use the web interface, you can clone the repo and do it locally: use git log master -- Formula/PACKAGENAME. rb to get the commit history, check out the correct commit, and then run brew install Formula/PACKAGENAME. rb to install it.
brew cask is an extension to brew that allows management of graphical applications through the Cask project. Homebrew Cask extends Homebrew and brings its elegance, simplicity, and speed to OS X applications and large binaries alike. Cask deals with a mixture of software and licences.
brew cask is an extension to standard brew based software management, it's a type of formula that documents the process of installing a graphical application (and not entirely coincidentally closed-source software).
Sometimes the Jethro instruction won't work, because we will get an error like: Invalid usage: Non-checksummed download of <FORMULA_NAME> formula file from an arbitrary URL is unsupported.
I found an workaround:
Cask code
linkHistory
buttonname of the commit
, then three dots
and select View file
Raw
button and Save Link As...
to download the file locallycd Downloads/
brew install --cask <FORMULA_NAME>.rb
If you need some visual assistance check the screenshots here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With