» Global Status

Command: vagrant global-status

This command will tell you the state of all active Vagrant environmentson the system for the currently logged in user.

This command does not actively verify the state of machines,and is instead based on a cache. Because of this, it is possible to seestale results (machines say they're running but they're not). For example,if you restart your computer, Vagrant would not know. To prune the invalidentries, run global status with the —prune flag.

The IDs in the output that look like a1b2c3 can be used to controlthe Vagrant machine from anywhere on the system. Any Vagrant commandthat takes a target machine (such as up, halt, destroy) can beused with this ID to control it. For example: vagrant destroy a1b2c3.

» Options

  • —prune - Prunes invalid entries from the list. This is much more timeconsuming than simply listing the entries.

» Environment Not Showing Up

If your environment is not showing up, you may have to do a vagrant destroyfollowed by a vagrant up.

If you just upgraded from a previous version of Vagrant, existing environmentswill not show up in global-status until they are destroyed and recreated.