Unpacking Software Livestream

Join our monthly Unpacking Software livestream to hear about the latest news, chat and opinion on packaging, software deployment and lifecycle management!

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Chocolatey Coding Livestream

Join us for the Chocolatey Coding Livestream, where members of our team dive into the heart of open source development by coding live on various Chocolatey projects. Tune in to witness real-time coding, ask questions, and gain insights into the world of package management. Don't miss this opportunity to engage with our team and contribute to the future of Chocolatey!

Learn More

Calling All Chocolatiers! Whipping Up Windows Automation with Chocolatey Central Management

Webinar from
Wednesday, 17 January 2024

We are delighted to announce the release of Chocolatey Central Management v0.12.0, featuring seamless Deployment Plan creation, time-saving duplications, insightful Group Details, an upgraded Dashboard, bug fixes, user interface polishing, and refined documentation. As an added bonus we'll have members of our Solutions Engineering team on-hand to dive into some interesting ways you can leverage the new features available!

Watch On-Demand
Chocolatey Community Coffee Break

Join the Chocolatey Team as we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Watch The Replays
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand

Downloads:

528,625

Downloads of v 2.4.1:

22,092

Last Update:

20 Jan 2024

Package Maintainer(s):

Software Author(s):

  • Mitchell Hashimoto
  • John Bender
  • HashiCorp

Tags:

vagrant admin sandbox virtual machine testing vm virtualbox vmware cross-platform foss cli

Vagrant (Install)

This is not the latest version of Vagrant (Install) available.

  • 1
  • 2
  • 3

2.4.1 | Updated: 20 Jan 2024

Downloads:

528,625

Downloads of v 2.4.1:

22,092

Maintainer(s):

Software Author(s):

  • Mitchell Hashimoto
  • John Bender
  • HashiCorp

Vagrant (Install) 2.4.1

This is not the latest version of Vagrant (Install) available.

Legal Disclaimer: Neither this package nor Chocolatey Software, Inc. are affiliated with or endorsed by Mitchell Hashimoto, John Bender, HashiCorp. The inclusion of Mitchell Hashimoto, John Bender, HashiCorp trademark(s), if any, upon this webpage is solely to identify Mitchell Hashimoto, John Bender, HashiCorp goods or services and not for commercial purposes.

  • 1
  • 2
  • 3

This Package Contains an Exempted Check

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Exemption:

Package may require a reboot

Details

Scan Testing Exemption for this package version only:

Package contains file(s) too big to be uploaded to VirusTotal!

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install Vagrant (Install), run the following command from the command line or from PowerShell:

>

To upgrade Vagrant (Install), run the following command from the command line or from PowerShell:

>

To uninstall Vagrant (Install), run the following command from the command line or from PowerShell:

>

Deployment Method:

NOTE

This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to https://community.chocolatey.org/api/v2/)


2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade vagrant -y --source="'INTERNAL REPO URL'" --version="'2.4.1'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade vagrant -y --source="'INTERNAL REPO URL'" --version="'2.4.1'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Install vagrant
  win_chocolatey:
    name: vagrant
    version: '2.4.1'
    source: INTERNAL REPO URL
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'vagrant' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '2.4.1'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller vagrant
{
    Name     = "vagrant"
    Version  = "2.4.1"
    Source   = "INTERNAL REPO URL"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'vagrant':
  ensure   => '2.4.1',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

NOTE

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

Package Approved

This package was approved as a trusted package on 20 Jan 2024.

Description

Vagrant provides easy to configure, reproducible, and portable work environments built on top of industry-standard technology and controlled by a single consistent workflow to help maximize the productivity and flexibility of you and your team.

To achieve its magic, Vagrant stands on the shoulders of giants. Machines are provisioned on top of VirtualBox, VMware, AWS, or any other provider. Then, industry-standard provisioning tools such as shell scripts, Chef, or Puppet, can be used to automatically install and configure software on the machine.


tools\chocolateyinstall.ps1
$ErrorActionPreference = 'Stop'

$packageArgs = @{
  packageName    = 'vagrant'
  fileType       = 'msi'
  url            = 'https://releases.hashicorp.com/vagrant/2.4.1/vagrant_2.4.1_windows_i686.msi'
  url64bit       = 'https://releases.hashicorp.com/vagrant/2.4.1/vagrant_2.4.1_windows_amd64.msi'
  checksum       = 'cbf809b7d89cf0b7ef0d990b99d502b1d67c9afecedd326fb187f59ebe311d6f'
  checksum64     = 'fc3806e071b7af2067eec5e8dfbe9f2dfe2c46139c5d682bb7defd7a2f9083e9'
  checksumType   = 'sha256'
  checksumType64 = 'sha256'
  silentArgs     = "/qn /norestart"
  validExitCodes = @(0, 3010, 1641)
  softwareName   = 'vagrant'
}
Install-ChocolateyPackage @packageArgs

Update-SessionEnvironment

$ErrorActionPreference = 'Continue' #https://github.com/chocolatey/chocolatey-coreteampackages/issues/1099

#https://github.com/chocolatey/chocolatey-coreteampackages/issues/1358
$proxy = Get-EffectiveProxy
if ($proxy) {
  Write-Host "Setting CLI proxy: $proxy"
  $env:http_proxy = $env:https_proxy = $proxy
}
vagrant plugin update

vagrant plugin repair               #https://github.com/chocolatey/chocolatey-coreteampackages/issues/1024
if ($LastExitCode -ne 0) {          #https://github.com/chocolatey/chocolatey-coreteampackages/issues/1099
  Write-Host "WARNING: Plugin repair failed, run 'vagrant plugin expunge --reinstall' after rebooting."
}
$LastExitCode = 0

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Add to Builder Version Downloads Last Updated Status
Vagrant (Install) 2.4.2 1874 Saturday, November 2, 2024 Approved
Vagrant (Install) 2.4.1 22092 Saturday, January 20, 2024 Approved
Vagrant (Install) 2.4.0 10455 Tuesday, October 17, 2023 Approved
Vagrant (Install) 2.3.7 36801 Friday, June 16, 2023 Approved
Vagrant (Install) 2.3.6 4783 Saturday, May 20, 2023 Approved
Vagrant (Install) 2.3.5 1432 Tuesday, May 16, 2023 Approved
Vagrant (Install) 2.3.4 41365 Saturday, December 10, 2022 Approved
Vagrant (Install) 2.3.3 317 Wednesday, November 16, 2022 Approved
Vagrant (Install) 2.3.2 8881 Wednesday, October 19, 2022 Approved
Vagrant (Install) 2.3.1 7056 Friday, September 30, 2022 Approved
Vagrant (Install) 2.3.0 4758 Sunday, September 4, 2022 Approved
Vagrant (Install) 2.2.19 36297 Saturday, November 6, 2021 Approved
Vagrant (Install) 2.2.18.20210807 9567 Saturday, August 7, 2021 Exempted
Vagrant (Install) 2.2.18 3224 Wednesday, July 28, 2021 Approved
Vagrant (Install) 2.2.17 4018 Thursday, July 8, 2021 Approved
Vagrant (Install) 2.2.16 7832 Friday, April 30, 2021 Exempted
Vagrant (Install) 2.2.15 4667 Wednesday, March 31, 2021 Approved
Vagrant (Install) 2.2.14 13447 Saturday, November 21, 2020 Approved
Vagrant (Install) 2.2.13 4035 Saturday, November 7, 2020 Approved
Vagrant (Install) 2.2.12 160 Saturday, November 7, 2020 Approved
Vagrant (Install) 2.2.11 387 Friday, November 6, 2020 Approved
Vagrant (Install) 2.2.10 6699 Tuesday, August 25, 2020 Approved
Vagrant (Install) 2.2.9 15973 Friday, May 8, 2020 Approved
Vagrant (Install) 2.2.8 1554 Tuesday, May 5, 2020 Approved
Vagrant (Install) 2.2.7 13661 Thursday, January 30, 2020 Approved
Vagrant (Install) 2.2.6 12675 Tuesday, October 15, 2019 Approved
Vagrant (Install) 2.2.5 14979 Wednesday, June 26, 2019 Approved
Vagrant (Install) 2.2.4 13615 Thursday, February 28, 2019 Approved
Vagrant (Install) 2.2.3 7377 Thursday, January 10, 2019 Approved
Vagrant (Install) 2.2.2 5990 Wednesday, November 28, 2018 Approved
Vagrant (Install) 2.2.1 2689 Friday, November 16, 2018 Approved
Vagrant (Install) 2.2.0 5352 Wednesday, October 17, 2018 Approved
Vagrant (Install) 2.1.5 5696 Wednesday, September 12, 2018 Approved
Vagrant (Install) 2.1.4 3208 Friday, August 31, 2018 Approved
Vagrant (Install) 2.1.3 744 Thursday, August 30, 2018 Approved
Vagrant (Install) 2.1.2.20180731 4543 Tuesday, July 31, 2018 Approved
Vagrant (Install) 2.1.2 1191 Monday, July 30, 2018 Approved
Vagrant (Install) 2.1.1 11623 Tuesday, May 8, 2018 Approved
Vagrant (Install) 2.1.0 1501 Friday, May 4, 2018 Approved
Vagrant (Install) 2.0.4 3149 Saturday, April 21, 2018 Approved
Vagrant (Install) 2.0.3 5697 Friday, March 16, 2018 Approved
Vagrant (Install) 2.0.2 7067 Tuesday, January 30, 2018 Approved
Vagrant (Install) 2.0.1 11088 Friday, November 3, 2017 Approved
Vagrant (Install) 2.0.0 7709 Thursday, September 7, 2017 Approved
Vagrant (Install) 1.9.8 3035 Thursday, August 24, 2017 Approved
Vagrant (Install) 1.9.7 15289 Saturday, July 8, 2017 Approved
Vagrant (Install) 1.9.6 4214 Thursday, June 29, 2017 Approved
Vagrant (Install) 1.9.5 16637 Tuesday, May 16, 2017 Approved
Vagrant (Install) 1.9.4 4875 Tuesday, April 25, 2017 Approved
Vagrant (Install) 1.9.3 5580 Wednesday, March 22, 2017 Approved
Vagrant (Install) 1.9.2 5143 Sunday, March 5, 2017 Approved
Vagrant (Install) 1.9.1 10404 Wednesday, December 7, 2016 Approved
Vagrant (Install) 1.9.0 1881 Tuesday, November 29, 2016 Approved
Vagrant (Install) 1.8.7 3173 Monday, November 7, 2016 Approved
Vagrant (Install) 1.8.6 5872 Wednesday, September 28, 2016 Approved
Vagrant (Install) 1.8.5 6773 Tuesday, July 19, 2016 Approved
Vagrant (Install) 1.8.4 1056 Tuesday, June 14, 2016 Approved
Vagrant (Install) 1.8.3 505 Friday, June 10, 2016 Approved
Vagrant (Install) 1.8.1.20160318 4232 Friday, March 18, 2016 Approved
Vagrant (Install) 1.8.1 6604 Friday, December 25, 2015 Approved
Vagrant (Install) 1.7.4.20160919 578 Monday, September 19, 2016 Approved
Vagrant (Install) 1.7.4 8776 Friday, July 17, 2015 Approved
Vagrant (Install) 1.7.3.20160919 508 Monday, September 19, 2016 Approved
Vagrant (Install) 1.7.3 1109 Sunday, July 12, 2015 Approved
Vagrant 1.7.2 7918 Wednesday, January 7, 2015 Approved
Vagrant 1.7.1 1440 Monday, December 15, 2014 Approved
Vagrant 1.7.0 548 Friday, December 12, 2014 Approved
Vagrant 1.6.5 3584 Friday, September 12, 2014 Approved
Vagrant 1.6.3 2545 Monday, June 16, 2014 Approved
Vagrant 1.5.4 1466 Thursday, April 24, 2014 Approved
Vagrant 1.5.3 792 Monday, April 14, 2014 Approved
Vagrant 1.5.2 555 Monday, April 14, 2014 Approved
Vagrant 1.5.1 1084 Monday, March 17, 2014 Approved
Vagrant 1.4.3 1338 Monday, January 13, 2014 Approved
Vagrant 1.4.2 613 Tuesday, January 7, 2014 Approved
Vagrant 1.4.1 796 Friday, December 20, 2013 Approved
Vagrant 1.4.0 766 Monday, December 9, 2013 Approved
Vagrant 1.3.5 1040 Wednesday, October 16, 2013 Approved
Vagrant 1.3.4 636 Thursday, October 3, 2013 Approved
Vagrant 1.3.3 644 Sunday, September 22, 2013 Approved
Vagrant 1.3.1 684 Sunday, September 8, 2013 Approved
Vagrant 1.2.7 866 Wednesday, July 31, 2013 Approved
Vagrant 1.2.4 630 Thursday, July 18, 2013 Approved
Vagrant 1.2.2 913 Wednesday, April 24, 2013 Approved
Vagrant 1.1.5 656 Wednesday, April 3, 2013 Approved
Vagrant 1.1.4 603 Monday, April 1, 2013 Approved
Vagrant 1.1.2 599 Saturday, March 23, 2013 Approved
Vagrant 1.0.10 648 Friday, February 15, 2013 Approved
Vagrant 0.8.0 881 Friday, October 14, 2011 Approved
Discussion for the Vagrant (Install) Package

Ground Rules:

  • This discussion is only about Vagrant (Install) and the Vagrant (Install) package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Vagrant (Install), or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus