At some point, you may need to delete a Vagrant box from your system. There may be a few reasons:
- To free up system space
- To remove a corrupt version
- To remove an old version that is no longer required
Whatever your reason, in this section, you will learn how to delete Vagrant boxes. Before deleting a box, it's worth getting the correct name/format in case you accidentally delete the wrong box!
To list the available boxes on your system, run the vagrant box list -i command, which will return the installed boxes on your system, their name, their provider, and the latest version. Using the -i flag will supply an additional description that may help you choose the correct box.