Linux command
eim 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Install a specific ESP-IDF version
eim install -i [v5.3.2]
Install interactively
eim install -i [v5.3.2] -n false
List installed ESP-IDF versions
eim list
Select a version as active
eim select [version]
Rename an installed version
eim rename [old_name] [new_name]
Remove a specific ESP-IDF version
eim remove [version]
说明
eim (ESP-IDF Installation Manager) is a cross-platform tool by Espressif for managing ESP-IDF (Espressif IoT Development Framework) installations. It handles downloading, installing, and switching between multiple ESP-IDF versions for ESP32 development. The tool supports both interactive and non-interactive (headless) installation modes, making it suitable for both manual setup and CI/CD automation. It integrates with IDEs through the eim_idf.json configuration file.
参数
- install -i _version_
- Install an ESP-IDF version. Runs non-interactively (headless) by default.
- list
- List installed ESP-IDF versions.
- select _version_
- Set the active ESP-IDF version (updates eim_idf.json for IDE integration).
- rename _old_ _new_
- Rename an installed ESP-IDF version.
- remove _version_
- Remove a specific ESP-IDF version.
- run _version_ _command_
- Run a command in the context of a specific ESP-IDF version.
- purge
- Remove all ESP-IDF installations.
- -n _bool_
- Set interactive mode (true/false, default: true for headless install).
- --help
- Display help information.
FAQ
What is the eim command used for?
eim (ESP-IDF Installation Manager) is a cross-platform tool by Espressif for managing ESP-IDF (Espressif IoT Development Framework) installations. It handles downloading, installing, and switching between multiple ESP-IDF versions for ESP32 development. The tool supports both interactive and non-interactive (headless) installation modes, making it suitable for both manual setup and CI/CD automation. It integrates with IDEs through the eim_idf.json configuration file.
How do I run a basic eim example?
Run `eim install -i [v5.3.2]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does install -i _version_ do in eim?
Install an ESP-IDF version. Runs non-interactively (headless) by default.