Installation

Configuring and installing the Espressif-IDE involves two main steps:

  1. Downloading and Installing the Espressif-IDE

  2. Installing the ESP-IDF and related tools within the Espressif-IDE

  3. Migrating old workspace to new

Note

For Eclipse CDT users who prefer installing the ESP-IDF Eclipse Plugin via the Update site, please refer to the Update Site Installation Guide.

Espressif-IDE Installation

To begin, navigate to the section corresponding to your operating system below and follow the provided instructions to install the Espressif-IDE.

Please note that the Espressif-IDE requires that you install ESP-IDF via Espressif Installation Manager (EIM) to manage the ESP-IDF versions and tools. For detailed documentation on using the Espressif Installation Manager (EIM), please refer to the official guide here.

Windows

Note

For Windows users, Espressif-IDE is available with ESP-IDF as an offline installer.

To download and install it, follow the instructions provided here. This guide will walk you through the installation process for Java, Git, CMake, ESP-IDF, IDF Tools, Device Drivers, and Espressif-IDE to help you get started.

macOS/Linux

Download the Espressif-IDE for your respective operating system from the download section. After downloading, launch the IDE and proceed to install the necessary ESP-IDF and related tools. Please ensure that Java, Python, and Git are installed as prerequisites and are available in the system path before launching the IDE.

ESP-IDF and Tools Installation (New Workspace)

The Espressif-IDE provides a Tool Manager view that allows you to activate available ESP-IDF versions and manage related tools. To install the ESP-IDF and its tools, first download the Espressif Installation Manager (EIM) from the following link.

After downloading and launching EIM, follow the on-screen instructions to install the required ESP-IDF version and associated tools. Once the installation is complete, you can use the ESP-IDF Manager within the IDE to activate the installed ESP-IDF version in the workspace. The Espressif-IDE allows you to download and launch the EIM directly from the IDE, making it easier to manage your ESP-IDF versions and tools. If you are coming trying to open the workspace from and older version of Espressif-IDE you will be prompted to convert the older configuration to use with EIM.

Follow these steps inside the Espressif-IDE to install the ESP-IDF and related tools:

  1. Go to Espressif > ESP-IDF Manager. The following editor will open:

    _images/ESP-IDF_Manager_Editor_Screen.png
  2. Click on the Launch EIM or Download & Launch EIM button if you have not already downloaded and installed EIM.

    You will see the progress of download and installation in the console. Once the EIM is launched, you can use it to install the ESP-IDF and related tools.

  3. Once you close the EIM your ESP-IDF Manager editor will be updated with the latest information about the ESP-IDF versions and tools available.

Note

Please note that the EIM will be the only tool going forward to manage the ESP-IDF versions and tools. The previous versions of the Espressif-IDE used to manage tools internally but now the only point of entry into the ESP-IDF will be through the EIM.

After the EIM is closed the ESP-IDF Manager editor will be updated with the latest information about the ESP-IDF versions and tools available.:

_images/Tool_installed_and_activated.png

You can add as many versions of ESP-IDF as you want via EIM, but only one version can be set as active, and that version will be used to compile and index projects in your workspace. This feature helps you switch between versions in the workspace easily.

To activate any specific version, simply click on the radio button next to it in the Active column.

The refresh button in the last column for the active ESP-IDF version can be used to reload any changes in the ESP-IDF directory you made.

Note

Any manual changes made to the ESP-IDF directory will not be reflected in the IDE until you refresh the active ESP-IDF version using the refresh button but if you made any changes to the installation of ESP-IDF using the EIM, those changes will be detected and a popup message will be shown to you to update the ESP-IDF version in the IDE.

_images/ESP-IDF_Manager_Changed_Installation_Message.png

Migrating Old Workspace to New

If you are migrating from an older version of the Espressif-IDE, you will need to convert your existing workspace to be compatible with the new ESP-IDF Manager. You will need to download and install the Espressif Installation Manager (EIM) from the following link. After installation of the EIM please follow the steps below:

  1. Copy the downloaded EIM executable to .espressif/eim_gui/ in user home directory for Windows and Linux. For example, on Windows, it would be C:Users<username>.espressifeim_guieim.exe. On Linux , it would be ~/.espressif/eim_gui/eim. For macOS, copy the downloaded eim.app to your Applications, for example, /Applications/eim.app.

  2. Open the Espressif-IDE if already running restart it.

  3. After the IDE detects the EIM executable and a valid older workspace, it will prompt you to convert the old workspace to the new format.:

_images/ESP-IDF_Manager_Conversion.png
  1. Click on the Yes button to convert the old configuration.

  2. Now in Espressif-IDE, go to Espressif > ESP-IDF Manager. The ESP-IDF Manager editor will open, and you can proceed to select activate against the version you want.