Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Install latest Vagrant using command line
apt-get install -y --no-install-recommends ca-certificates curl jq
VAGRANT_LATEST_VERSION=$(curl -s | jq -r -M '.current_version')
curl${VAGRANT_LATEST_VERSION}/vagrant_${VAGRANT_LATEST_VERSION}_x86_64.deb --output /tmp/vagrant_x86_64.deb
apt install -y /tmp/vagrant_x86_64.deb
rm /tmp/vagrant_x86_64.deb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment