Vagrant Commands

Complete Vagrant commands reference — 29 commands across 1 categories. Quick reference cheat sheet for Cross-platform.

CLI Commands (29)

ShortcutAction
vagrant boxManage "vagrant box add", "vagrant box remove", and other box-related commands such as
vagrant cloudTaking actions against Vagrant Cloud like searching or uploading a Vagrant Box
vagrant connectCompliments the "vagrant share" command to allow a user to remotely connect to your Vagrant
vagrant destroyStop the running virtual machine and terminate use of all resources that were in use
vagrant global-statusDetermine the state of all active Vagrant environments on the system for the currently logged
vagrant haltShut down the virtual machine that Vagrant is currently managing
vagrant initInitialize the current directory to be a Vagrant environment by creating an initial Vagrantfile
vagrant loginAuthenticate Vagrant with HashiCorp's Vagrant Cloud service to use features like private boxes
vagrant machine-readableAlmost all commands in Vagrant accept a --machine-readable flag to enable machine-readable
vagrant non-primaryIn addition to the commands listed in the sidebar and shown in "vagrant -h", Vagrant comes
vagrant packagePackage a currently-running VirtualBox or Hyper-V vagrant environment into a reusable Vagrant
vagrant pluginManage Vagrant plugins including installing, uninstalling, and license management
vagrant portDisplay the full list of guest ports mapped to the host machine ports
vagrant powershellOpen a PowerShell prompt running inside the guest machine
vagrant provisionRun any provisioners configured for the guest machine, such as Puppet, Chef, Ansible, Salt
vagrant rdpStart an RDP client for a remote desktop session with the guest machine
vagrant reloadIs the equivalent of running "vagrant halt" followed by "vagrant up"
vagrant resumeBring a machine back into the "up" state, perhaps if it was previously suspended via "vagrant
vagrant shareInitializes a new Vagrant share session, which allows you to share your virtual machine
vagrant snapshotManage snapshots of the guest machine
vagrant sshEstablish an SSH session into a running virtual machine to give you shell access
vagrant ssh-configOutput a valid SSH configuration file capable of SSHing into the guest machine directly
vagrant statusTell you the status of the virtual machines in the current Vagrant environment
vagrant suspendSuspend the guest machine Vagrant is currently managing
vagrant upCreate, configuration, and provision a guest machine according to your Vagrantfile
vagrant uploadUpload files from the host to a guest machine
vagrant validateValidate your Vagrantfile
vagrant versionOutput the version of Vagrant currently installed on the system
vagrant winrmExecute commands on the remote machine via WinRM
📄 View Printable Cheat Sheet — Download as PDF or print · 🧩 Combine with other tools

Related Shortcut Pages

Docker Kubernetes (kubectl) Proxmox VE VMware ESXi Terraform Ansible

Search 13,500+ shortcuts across 269 platforms

Explore All Platforms Practice Shortcuts

🤖 Ask AI about Vagrant shortcuts

Open your assistant with this page preloaded as the source — great for follow-up questions like "which of these work in other apps?"

ChatGPT Claude Perplexity Gemini Grok
📜 Every shortcut on this page is taken from the official Vagrant documentation — developer.hashicorp.com
🔧 Spotted an error or a missing shortcut? Suggest an edit on GitHub — every accepted fix goes live on this page, the API and the CLI.