Command Line Installation

The command line interface (CLI) of ESP-IDF Installation Manager provides a flexible way to install ESP-IDF, especially useful for automation and headless environments.

Getting Started

Windows

Run EIM from PowerShell (do not use x86 version). Navigate to the EIM directory and run:

.\eim --help

macOS & Linux

After downloading and extracting EIM, make it executable:

chmod +x ./eim ./eim --help

Installation Methods

Interactive Wizard

Running eim without parameters starts an interactive wizard that guides you through the installation:

  1. Prerequisites check
  2. Platform selection
  3. ESP-IDF version selection
  4. Mirror selection
  5. Installation path configuration

Command Line Arguments

For automated installations, use command line arguments:

# Install specific version eim -i v5.3.2 # Install with custom path eim -p /opt/esp-idf # Non-interactive installation eim -n true

See CLI Configuration for all available options.