PyCharm
 
2021.1
Get PyCharm
You are viewing the documentation for an earlier version of PyCharm.

Vagrant

Last modified: 08 March 2021

This is a Professional feature: download PyCharm Professional to try.

File | Settings | Tools | Vagrant for Windows and Linux

PyCharm | Preferences | Tools | Vagrant for macOS

Ctrl+Alt+S the Settings/Preferences icon

File | Settings | Tools | Vagrant for Windows and Linux

PyCharm | Preferences | Tools | Vagrant for macOS

Ctrl+Alt+S the Settings/Preferences icon

On this page, enable Vagrant support in PyCharm, specify the location of the VagrantFile, and handle the list of Vagrant base boxes to use in creation of virtual boxes (instances).

Before you start working with Vagrant, make sure that:

  1. Vagrant is downloaded and installed.

  2. Before you start working with Vagrant, make sure that the plugin is enabled. The plugin is bundled with PyCharm and is activated by default. If the plugin is not activated, enable it on the Plugins page of the IDE settings Ctrl+Alt+S as described in Manage plugins.

    If you are using Docker for Windows, enable the Expose daemon on tcp://localhost:2375 without TLS option in the General section of your Docker settings.