vaguerent/website/source/docs/cli/index.html.md
Seth Vargo 5093f3120e Merge docs and www into a single static site
This is a big commit, and I apologize in advance for the future
git-blames all pointing to me. This commit does a few things:

1.  Merges the website/docs and website/www repo into a single website repo
    to be in line with other HashiCorp projects
2.  Updates to use middleman-hashicorp
3.  Converts less to scss to be in line with other projects
4.  Updates page styles to be in line with other projects
5.  Optimizes images
6.  Prepare for S3 + Fastly deployment with scripts, etc.
7.  Removes blog posts (they have been transferred to hashicorp.com with
    redirects in place
8.  Updated sitemap generation script for better SEO
9.  Fixed many broken links
10. Add description to all fields
2016-01-19 14:35:05 -05:00

1.2 KiB

layout page_title sidebar_current description
docs Command-Line Interface cli Almost all interaction with Vagrant is done via the command-line interface.

Command-Line Interface

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

The interface is available using the vagrant command, and comes installed with 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 available subcommands. In addition to this, you can run any Vagrant command with the -h flag to output help about that specific command. For example, try running vagrant init -h. The help will output a one sentence synopsis of what the command does as well as a list of all the flags the command accepts.

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

You may also wish to consult the documentation regarding the environmental variables that can be used to configure and control Vagrant in a global way.