Vagrant
HashiCorp · Command-line tool for reproducible development environments defined in a Vagrantfile and managed through separate virtualization providers.
- Installazioni in 30 giorni
- 1740
- Installazioni in un anno
- 17,3K
- Ultimi 365 giorni
- Ultima versione
- 2.4.9
- 7 ott · 7 ott
- Dimensione del download
- 56MB
- arm64 / x86_64 · dmg
- Frequenza di rilascio
- Irregolare
- 1 versione in 30 giorni
Vagrant è un software per Mac della categoria Virtualizzazione e container. Lo sviluppatore è HashiCorp.
Informazioni di base
- Chip
- Apple silicon · Intel
- Sviluppatore
- HashiCorp
- Comando di installazione
brew install --cask vagrant- Homebrew
- Ancora disponibile su Homebrew; per ora OpenNavo non lo consiglia
- Altri nomi
- vagrant
Le informazioni qui sopra sono state verificate il o successivamente. Mostra le fonti di ogni dato
Descrizione
Vagrant is HashiCorp's command-line tool for creating and managing reproducible development environments. Developers and teams describe an environment in a Vagrantfile, select a compatible box image and provider, and use a consistent workflow to start, configure, connect to and remove development machines.
Environments as code
The Vagrantfile describes machine resources, networking, synced folders and provisioning. Provisioners can install software and configure a guest through supported tools such as shell scripts or Ansible. Multi-machine configurations can model several cooperating systems. Boxes package base environments and can be versioned and shared; provider-specific boxes are not interchangeable simply because their names match.
Common commands include init to create configuration, up to create or start the environment, ssh to connect, halt to stop, and destroy to delete a managed machine. Destroy can remove guest data, so preserve important work separately. Synced folders connect host and guest files and networking exposes selected guest services. Treat both configuration and provisioning scripts as executable code from the project, not harmless documents.
Install and choose a provider
Install the vagrant Homebrew Cask or the official macOS package. This is a CLI installation, not a graphical VM desktop app. The Mac Cask installs vagrant.pkg, the executable and completion scripts; installer actions can require administrator authorization. Official packages include their supported runtime, so a separate system Ruby installation is not the normal setup path. The tagged README also requires bsdtar and curl on PATH.
The recorded Apple Silicon download is vagrant_2.4.9_darwin_arm64.dmg, 56,202,968 bytes according to HTTP HEAD. Intel Macs use the separate darwin_amd64 download. This transfer size excludes provider software, box downloads, VM disks, plugins and caches. The Cask declares no numeric minimum macOS version or extra provider dependency. Match the package, provider, host OS and guest architecture to your system; an arm64 Vagrant executable does not make an x86 guest image compatible with an ARM hypervisor. Official packages also support Windows and Linux, with their own providers and installation requirements.
Vagrant orchestrates providers rather than including a hypervisor. VirtualBox support is built in, but VirtualBox must be installed separately; 2.4.9 adds support for VirtualBox 7.2. Choose a supported stable provider version and suitable host/guest architecture. VirtualBox's base product and its optional Extension Pack have different licensing terms, so do not assume every optional component is unrestricted for business use.
For VMware, separately install the matching Fusion or Workstation product, Vagrant VMware Utility and vagrant-vmware-desktop plugin. The provider plugin is MPL licensed rather than the former paid plugin model. VMware has made Fusion and Workstation free for commercial, educational and personal use; an older HashiCorp provider overview still says they must be purchased. Follow the current VMware download/license terms and distinguish the free hypervisor from paid support contracts. Docker and other providers have their own runtime, plugin, account and licensing requirements.
Accounts, costs and trust
Local Vagrant use does not require a mandatory HashiCorp cloud subscription. Public box downloads, private registries, remote cloud providers and hosted services have separate authentication and usage terms. Private box access can require account credentials or tokens. Cloud providers can bill for instances, storage and network traffic even though Vagrant itself has no recurring CLI fee.
Use trusted boxes, Vagrantfiles, provisioning code and plugins. Provisioners can run privileged commands inside guests, plugins run as part of the host tool, and synced folders can expose host files. Review network forwarding and shared folders. Providers may request host permissions or install privileged services; the Vagrant Cask alone does not configure every provider. Multiple active hypervisors can conflict depending on the host platform.
Current and historical licenses
The recorded Vagrant 2.4.9 source is under Business Source License 1.1 with HashiCorp's Additional Use Grant. It permits production use subject to its restriction on hosted or embedded competitive paid offerings. Internal organizational use is expressly distinguished from a competitive offering. Review the license and vendor FAQ for redistribution or product embedding.
The licensed work changes to MPL 2.0 four years after its publication under the stated Change Date. Earlier Vagrant releases historically used MPL 2.0; that history does not make this current release an unrestricted MPL release today. Provider plugins and third-party software can carry separate licenses.
Official sources: Documentation, Tagged source and requirements, Current license, VMware installation, VMware free-use announcement.
Requisiti di sistema
| macOS | Versione dell’app | Chip | Download | Fonte |
|---|---|---|---|---|
| Versione per macOS 27, 26, 15, 14, 13, 12, 11 | 2.4.9 | Intel | releases.hashicorp.com/vagrant/2.4.9/vagrant_2.4.9_darwin_amd64.dmgSHA-256 8de08bd435ef8ae0fc5fbd6acefa9c68e62fb898c5ae0fbdacd26853bea9d4d6 | HomebrewVerificato il |
| Versione per macOS 27, 26, 15, 14, 13, 12, 11 | 2.4.9 | Apple silicon | releases.hashicorp.com/vagrant/2.4.9/vagrant_2.4.9_darwin_arm64.dmgSHA-256 8de08bd435ef8ae0fc5fbd6acefa9c68e62fb898c5ae0fbdacd26853bea9d4d6 | HomebrewVerificato il |
Come installare Vagrant sul Mac
- Esegui in “Terminale”:
brew install --cask vagrant - Homebrew esegue il programma di installazione vagrant.pkg, che richiede la password di amministratore.
Installa senza Homebrew
Scarica il file che Homebrew usa per il tuo chip: Apple siliconIntel
Lo SHA-256 serve solo a verificare che il download sia completo: non è una certificazione di sicurezza. Mostra lo SHA-256 e l’indirizzo di download
Disinstallazione di Vagrant e pulizia facoltativa dei dati
brew uninstall --cask vagrantUna disinstallazione normale rimuove l’app e ne conserva impostazioni e cache.
La disinstallazione rimuove anche
- Ricevute di installazione (pkgutil)
com.vagrant.vagrant
Pulizia approfondita (facoltativa)
brew uninstall --zap --cask vagrant--zap elimina anche impostazioni, cache e altri file elencati nella definizione Homebrew. Tra questi possono esserci dati condivisi con altre app, che non si possono ripristinare dopo l’eliminazione; inoltre non garantisce che non rimanga alcun residuo. Esegui prima un backup dei dati da conservare. Per mantenere impostazioni e cache, non aggiungere --zap.
File che Vagrant può lasciare sul Mac (1)
- File e cartelle
~/.vagrant.d
Queste voci provengono dalla definizione Homebrew, verificata il . Indicano solo cosa la definizione dichiara di eliminare, non che siano tutte presenti sul tuo Mac.
Novità della versione 2.4.9
Nuova versione · Redazione OpenNavo
Questa versione non ha note di rilascio specifiche.
Dati sulla sicurezza di Vagrant
Qui trovi solo fatti verificabili, ciascuno con fonte e data: non è una certificazione di sicurezza. Per controllare i file che hai scaricato, puoi analizzarli sul tuo Mac con OpenNavo.
- Canali di distribuzione
- Homebrew
Dettagli di installazione
- Tap
- homebrew/cask
- Pacchetti di installazione
- vagrant.pkg
- URL di download
- https://releases.hashicorp.com/vagrant/2.4.9/vagrant_2.4.9_darwin_arm64.dmg
- SHA-256
- 8de08bd435ef8ae0fc5fbd6acefa9c68e62fb898c5ae0fbdacd26853bea9d4d6
- Definizione Homebrew
- github.com/homebrew/homebrew-cask/blob/HEAD/Casks/v/vagrant.rb
- formulae.brew.sh
- formulae.brew.sh/cask/vagrant
- Codice sorgente
- github.com/hashicorp/vagrant
Contenuti di installazione e rimozione
Disinstallazione
uninstallMostra la dichiarazione completa
{ "uninstall": [ { "pkgutil": "com.
vagrant. "script": { "executable": "uninstall.vagrant", tool", "input": [ "Yes" ], "sudo": true } } ] }Installazione
pkgFile di origine: vagrant.
pkg Mostra la dichiarazione completa
{ "pkg": [ "vagrant.
pkg" ] }Installazione
bash_completionFile di origine: /
opt/ vagrant/ embedded/ gems/ gems/ vagrant-2. 4. 9/ contrib/ bash/ completion. sh Destinazione dichiarata: $HOMEBREW_PREFIX/
etc/ bash_completion. d/ vagrant Mostra la dichiarazione completa
{ "bash_completion": [ "/
opt/ { "target": "vagrant" } ], "target": "$HOMEBREW_PREFIX/vagrant/ embedded/ gems/ gems/ vagrant-2. 4. 9/ contrib/ bash/ completion. sh", etc/ }bash_completion. d/ vagrant" Installazione
zsh_completionFile di origine: /
opt/ vagrant/ embedded/ gems/ gems/ vagrant-2. 4. 9/ contrib/ zsh/ _vagrant Destinazione dichiarata: $HOMEBREW_PREFIX/
share/ zsh/ site-functions/ _vagrant Mostra la dichiarazione completa
{ "target": "$HOMEBREW_PREFIX/
share/ "zsh_completion": [ "/zsh/ site-functions/ _vagrant", opt/ ] }vagrant/ embedded/ gems/ gems/ vagrant-2. 4. 9/ contrib/ zsh/ _vagrant" Rimozione dati utente
zapMostra la dichiarazione completa
{ "zap": [ { "trash": "~/
. } ] }vagrant. d"
Domande frequenti su Vagrant
Vagrant è sicuro?
Vagrant è nel catalogo ufficiale di Homebrew e non è stato disattivato. Da settembre 2026, Homebrew disattiva le app che non superano i controlli di Gatekeeper di macOS. Durante l’installazione, Homebrew confronta il download da releases.hashicorp.com con il relativo checksum SHA-256. Negli ultimi 30 giorni è stato installato 1740 volte tramite Homebrew.
Come disinstallare completamente Vagrant dal Mac?
Esegui brew uninstall --cask vagrant. Il comando cancella 1 ricevuta di installazione. Per eliminare anche impostazioni e cache, esegui brew uninstall --zap --cask vagrant. --zap elimina anche impostazioni, cache e altri file elencati nella definizione Homebrew. Tra questi possono esserci dati condivisi con altre app, che non si possono ripristinare dopo l’eliminazione; inoltre non garantisce che non rimanga alcun residuo. Esegui prima un backup dei dati da conservare. Per mantenere impostazioni e cache, non aggiungere --zap. In questo modo viene eliminato anche ~/.
Vagrant funziona sui Mac con Apple silicon (M1 e successivi)?
Sì. Homebrew scarica pacchetti distinti per i Mac con Apple silicon e per quelli con Intel.
Dove si trovano le impostazioni e i dati di Vagrant?
I dati si trovano in ~/. Questi percorsi provengono dall’elenco di pulizia di Homebrew.
Qual è l’ultima versione di Vagrant?
L’ultima versione è la 2.4.9, aggiunta a Homebrew il 21 ago 2025. Per aggiornarlo, esegui brew upgrade --cask vagrant.
Cos’altro viene installato insieme a Vagrant?
Si installa tramite un programma di installazione .pkg, che richiede la password di amministratore.
Fonti
Ogni dato di questa pagina indica fonte e data di verifica. I dati scaduti riportano solo “Dati al” seguito dalla data e non vengono più presentati come attuali.
- Definizione Homebrew: github.com/homebrew/homebrew-cask/blob/HEAD/Casks/v/vagrant.rb · Verificato il
- formulae.brew.sh: formulae.brew.sh/cask/vagrant