Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>VagrantNew to Visual Studio Code? Get it now.
Vagrant

Vagrant

Baptist BENOIST

|
241,624 installs
| (1) | Free
Vagrant support for Visual Studio Code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Vagrant support for Visual Studio Code

Features

Vagrant machine status

vagrant status

Status Icon
not_created icon
running icon
saved icon
poweroff icon

Vagrant machine management

vagrant demo with a single machine

The following Vagrant commands are currently supported:

Name Vagrant Command VS Code Command
Up vagrant up Vagrant: Up
Provision vagrant provision Vagrant: Provision
Suspend vagrant suspend Vagrant: Suspend
Halt vagrant halt Vagrant: Halt
Reload vagrant reload Vagrant: Reload
Destroy vagrant destroy -f Vagrant: Destroy
Status vagrant status Vagrant: Status

The extension automatically finds the Vagrantfile files within the workspace and will ask you on which machine to execute the desired command if they are multiple.

Tip You can use the Vagrant: Show Log command to show the console output.

vagrant up with multiple machines

Vagrantfile syntax coloring

Syntax coloring

Installation

Vagrant

No extra step is required. Simply make sure Vagrant is still correctly installed and available in your PATH environment variable.

Visual Studio Code

Hit Ctrl+P and enter the ext install vagrant command. Warning: be sure to select the extension authored from bbenoist.

Installing the extension locally

Just clone the GitHub repository under your local extensions folder:

  • Windows: %USERPROFILE%\.vscode\extensions
  • Mac / Linux: $HOME/.vscode/extensions

Issues / Feature requests

You can submit your issues and feature requests on the GitHub issues page.

More information

  • vscode-vagrant on the Visual Studio Marketplace
  • vscode-vagrant GitHub repository
  • Visual Studio Code website
  • Vagrant website
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft