» Command-Line Interface

Almost all interaction with Vagrant is done through the command-lineinterface.

The interface is available using the vagrant command, and comes installedwith Vagrant automatically. The vagrant command in turn has many subcommands,such as vagrant up, vagrant destroy, etc.

If you run vagrant by itself, help will be displayed showing all availablesubcommands. In addition to this, you can run any Vagrant command with the-h flag to output help about that specific command. For example, tryrunning vagrant init -h. The help will output a one sentence synopsis ofwhat the command does as well as a list of all the flags the commandaccepts.

In depth documentation and use cases of various Vagrant commands isavailable by reading the appropriate sub-section available in the leftnavigational area of this site.

You may also wish to consult thedocumentation regarding theenvironmental variables that can be used to configure and controlVagrant in a global way.