Brew update cask taps
Up until around October 2014, Homebrew had a brew versions command that would list all the versions of a package, and the corresponding Git commands to roll the formula back.
![brew update cask taps brew update cask taps](https://vancouverfoodster.com/wp-content/uploads/2012/12/tap-barrel-cask-21-768x1024.jpg)
#Brew update cask taps how to#
The homebrew formulae (that tells the brew command how to build each package) are all stored in a Git repository.Īll we need to do is to roll back the formula for the package we want to build to the latest commit that was active for that package. In my case, the version I'm looking for (version 1.2.1) isn't available as a tap, so I need an alternative approach.
#Brew update cask taps install#
You can install one of them like this: $ brew install homebrew/versions/elasticsearch11 The first line of output refers to the default package, while the following line refers to the "tapped" versions that are also available. Homebrew/versions/elasticsearch-0.20 homebrew/versions/elasticsearch090 homebrew/versions/elasticsearch11
![brew update cask taps brew update cask taps](https://pic2.zhimg.com/80/v2-43dc357e6113b77a26e57b213f7d3c19_1440w.jpg)
Old versions are maintained in the homebrew-versions repository, and show up in the output of homebrew search: $ brew search elasticsearch If a lot of people might need to use an old version of a package (or "formula", in homebrew's terminology), it might have been made available as a tap. It's useful to be able to install a specific version. Packages in homebrew are typically updated to provide the latest version of an app, which means that you can find yourself running more recent versions of your software in development, than in production. I develop Agile Planner on a Mac, and install software required by my app (such as PostgreSQL, memcached and Elasticsearch) using the homebrew package manager. This is often the case when hosting apps on a PaaS (Platform as a Service) provider such as Heroku. My preferred approach is to develop my code in a virtual machine containing the same operating system and software as my production server environment, but sometimes we don't have much control over the code we run on the server.
![brew update cask taps brew update cask taps](https://i-bosity-com.oss-cn-hongkong.aliyuncs.com/product_img/268/73010817/73010817_8_image.jpg)
When developing for the web, I like to make sure that the software I'm using in development is a close match for the code that I'm running on my live servers. Installing a specific version of a homebrew package