Skip to content

Instantly share code, notes, and snippets.

@fishnix
Last active December 3, 2016 02:44
Show Gist options
  • Save fishnix/4ee9e05f05b12b11add6971adc4ba6c9 to your computer and use it in GitHub Desktop.
Save fishnix/4ee9e05f05b12b11add6971adc4ba6c9 to your computer and use it in GitHub Desktop.
Vagrant 1.8.7 homebrew cask

Uninstall and cleanup vagrant 1.9.x

brew cask uninstall vagrant
rm -Rf ~/.vagrant.d

Install Vagrant 1.8.7 from this cask

brew cask install https://gist.githubusercontent.com/fishnix/4ee9e05f05b12b11add6971adc4ba6c9/raw/19eeb855ed9522fae0869f204a63ef7d39f12600/vagrant-1.8.7.rb
vagrant -v
cask 'vagrant-1.8.7' do
version '1.8.7'
sha256 '14d68f599a620cf421838ed037f0a1c4467e1b67475deeff62330a21fda4937b'
# hashicorp.com/vagrant was verified as official when first introduced to the cask
url "https://releases.hashicorp.com/vagrant/#{version}/vagrant_#{version}.dmg"
appcast 'https://github.com/mitchellh/vagrant/releases.atom',
checkpoint: '8d16ac5df154d7b39604d9f6505b17394cdc45205c6a75a1bac8d9ff39cc2f06'
name 'Vagrant'
homepage 'https://www.vagrantup.com/'
pkg 'Vagrant.pkg'
uninstall script: { executable: 'uninstall.tool', input: %w[Yes] },
pkgutil: 'com.vagrant.vagrant'
zap delete: '~/.vagrant.d'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment