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:
- Prerequisites check
- Platform selection
- ESP-IDF version selection
- Mirror selection
- 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.