diff --git a/pages/common/vagrant-box.md b/pages/common/vagrant-box.md new file mode 100644 index 00000000000000..6b74ac5446210c --- /dev/null +++ b/pages/common/vagrant-box.md @@ -0,0 +1,37 @@ +# vagrant box + +> Manage Vagrant boxes (virtual machine images). +> See also: `vagrant`. +> More information: . + +- List all installed boxes: + +`vagrant box list` + +- Add a new box: + +`vagrant box add {{hashicorp/bionic64}}` + +- Add a box from a custom URL: + +`vagrant box add {{my-box}} {{https://example.com/my-box.box}}` + +- Remove an installed box: + +`vagrant box remove {{hashicorp/bionic64}}` + +- Update all boxes that are in use in the current Vagrant environment: + +`vagrant box update` + +- Update a specific box: + +`vagrant box update --box {{bento/debian-12}}` + +- Check if there is a new version available for the box that you are using: + +`vagrant box outdated` + +- Clean up old versions of installed boxes: + +`vagrant box prune`