Are you happy with your logging solution? Would you help us out by taking a 30-second survey? Click here


Vagrant plugin to check your downloaded boxes and remove every box that is not the lastest downloaded version

Subscribe to updates I use vagrant-remove-old-box-versions

Statistics on vagrant-remove-old-box-versions

Number of watchers on Github 75
Number of open issues 0
Average time to close an issue 9 days
Main language Ruby
Average time to merge a PR less than a minute
Open pull requests 1+
Closed pull requests 0+
Last commit almost 3 years ago
Repo Created almost 4 years ago
Repo Last Updated almost 2 years ago
Size 17 KB
Organization / Authorswisnl
Latest Release1.0.0
Page Updated
Do you use vagrant-remove-old-box-versions? Leave a review!
View vagrant-remove-old-box-versions activity
View on github
Fresh, new opensource launches 🚀🚀🚀
Trendy new open source projects in your inbox! View examples

Subscribe to our mailing list

Evaluating vagrant-remove-old-box-versions for your project? Score Explanation
Commits Score (?)
Issues & PR Score (?)

The code for this plugin has been merged into Vagrant and is released in 1.9.0. The command is vagrant box prune. See the pull request.

Vagrant remove old box versions plugin

This plugin enables you to automatically remove old vagrant boxes from you host. Just run vagrant remove-old-versions and it will check your downloaded boxes and remove every box that is not the lastest downloaded version.

Internally it uses vagrant box list to get a list of boxes, and vagrant box remove --box-version xxx --provider xxx so it still has all safeguards you expect from vagrant.

Gem Version Gem


vagrant plugin install vagrant-remove-old-box-versions


Usage: vagrant remove-old-versions [options]


    -p, --provider PROVIDER          The specific provider type for the boxes to destroy.
    -n, --dry-run                    Only print the boxes that would be removed.
        --name NAME                  The specific box name to destroy.
    -f, --force                      Destroy without confirmation even when box is in use.


This plugin is built and maintained by Bjrn Brala Bug reports and pull requests are welcome on GitHub at swisnl/vagrant-remove-old-box-versions.


The gem is available as open source under the terms of the MIT License.


[1.2.0] 2016-12-09

  • This plugin was merged into Vagrant. Added deprecation message.

[1.1.0] 2016-03-16

  • ---dry-run and --name option added by @danielpanteleit

[1.0.0] 2016-01-13

  • Initial release.
vagrant-remove-old-box-versions open issues Ask a question     (View All Issues)
  • about 3 years Support removing obsolete linked clones
vagrant-remove-old-box-versions open pull requests (View All Pulls)
  • Options for dry-run and deletion of specific boxes
vagrant-remove-old-box-versions list of languages used
vagrant-remove-old-box-versions latest release notes
1.0.0 [1.0.0] 2016-01-13

Initial release

More projects by swisnl View all
Other projects in Ruby