红穆笔记

eim

安裝和管理 ESP-IDF

100% 瀏覽器本地處理 0 數據上傳

常用示例

在默認位置(Windows 上爲 `C:\esp`,POSIX 系統上爲 `~/.espressif`)安裝默認(最新)的 ESP-IDF 版本

eim install

非交互式安裝特定 ESP-IDF 版本

eim install {{[-i|--idf-versions]}} {{v5.3.2}}

運行交互式、指導性的安裝嚮導

eim wizard

安裝特定版本到自定義路徑,並強制進入交互模式(以提示選擇)

eim install {{[-i|--idf-versions]}} {{v5.3.2}} {{[-p|--path]}} {{/opt/esp-idf}} {{[-n|--non-interactive]}} false

列出所有當前已安裝的 ESP-IDF 版本

eim list

移除一個特定已安裝的 ESP-IDF 版本

eim remove {{v5.3.2}}

使用 TOML 配置文件中定義的所有選項以無頭模式安裝

eim install {{[-c|--config]}} {{path/to/config.toml}}

使用預先下載的歸檔文件進行離線安裝

eim install --use-local-archive {{path/to/archive.zst}}

提示:花括號{{…}}是需要替換的參數(路徑、文件名等);命令只在本機終端執行,本站不保存任何輸入。

英文原文對照

展開英文說明與示例(來源 tldr-pages)

Install and manage ESP-IDF. More information

Install the default (latest) ESP-IDF version in the default location (`C:\esp` on Windows and `~/.espressif` on POSIX systems)

eim install

Install a specific ESP-IDF version

eim install {{[-i|--idf-versions]}} {{v5.3.2}}

Run the interactive, guided installation wizard

eim wizard

Install a specific version to a custom path, forcing interactive mode (to prompt for choices)

eim install {{[-i|--idf-versions]}} {{v5.3.2}} {{[-p|--path]}} {{/opt/esp-idf}} {{[-n|--non-interactive]}} false

List all currently installed ESP-IDF versions

eim list

Remove a specific installed ESP-IDF version

eim remove {{v5.3.2}}

Install in headless mode using all options defined in a TOML configuration file

eim install {{[-c|--config]}} {{path/to/config.toml}}

Install offline using a pre-downloaded archive file

eim install --use-local-archive {{path/to/archive.zst}}

命令信息

命令名eim
用途安裝和管理 ESP-IDF
適用平臺通用
示例數量8 條
官方文檔https://docs.espressif.com/projects/idf-im-ui/en/latest/cli_commands.html
數據來源tldr-pages(CC-BY-4.0)· 社區中文翻譯

常見問題

eim 命令是做什麼的?

安裝和管理 ESP-IDF

eim 怎麼用?

頁面按場景列出了8 條常用示例:每條示例先說明用途,再給出可直接複製的完整命令(花括號裏是需要替換的參數)。

eim 最常用的操作是什麼?

在默認位置(Windows 上爲 `C:\esp`,POSIX 系統上爲 `~/.espressif`)安裝默認(最新)的 ESP-IDF 版本:eim install

命令裏的花括號是什麼意思?

花括號{{…}}表示需要替換成你自己的值,例如路徑、文件名;同名參數方括號(如 [-C|--directory])表示可選寫法。