Skip to content

Instantly share code, notes, and snippets.

Stanimir Karoserov demosten

View GitHub Profile
@demosten
demosten / brewv.sh
Created Feb 20, 2019
Install specific version of a Homebrew formula
View brewv.sh
#!/bin/bash
#
# Install specific version of a Homebrew formula
#
# Usage: brewv.sh formula_name desired_version
#
# Notes:
# - this will unshallow your brew repo copy. It might take some time the first time
# you call this script
# - it will uninstall (instead of unlink) all your other versions of the formula.
You can’t perform that action at this time.