Typing vagrant box list
gives:
$ vagrant box list
laravel/homestead (virtualbox, 6.3.0)
laravel/homestead (virtualbox, 8.0.1)
Indeed the 8.0.1
is the one I upgraded a minute ago.
How can I entirely (and safely) remove the old one (6.3.0) to free the disk space?
According to the documentation, the vagrant box remove NAME
requires box name. Since both boxes are named the same, which CLI command will help me remove the old one?
According to the docs you can use the box-version
option to remove only certain versions:
vagrant box remove laravel/homestead --box-version=6.3.0
Just tested it myself and it worked: