Skip to content

Instantly share code, notes, and snippets.

@Hickory420
Hickory420 / install-vagrant-deb
Created February 1, 2018 00:34
Install the latest vagrant available.
URL="https://releases.hashicorp.com/vagrant"
LATEST=`curl -s "${URL}/" | grep vagrant | sort | tail -n1 | cut -d_ -f2 | cut -d\< -f1`
echo "Press ENTER to download ${URL}/${LATEST}/vagrant_${LATEST}_x86_64.deb, or CTRL+C to exit"
read && \
wget --no-check-certificate "${URL}/${LATEST}/vagrant_${LATEST}_x86_64.deb" && \
sudo dpkg -i vagrant_${LATEST}_x86_64.deb