diff --git a/pages.zh/common/eim.md b/pages.zh/common/eim.md new file mode 100644 index 0000000000..e3ae894baa --- /dev/null +++ b/pages.zh/common/eim.md @@ -0,0 +1,36 @@ +# eim + +> 安装和管理 ESP-IDF. +> 更多信息:. + +- 在默认位置(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}}` diff --git a/pages/common/eim.md b/pages/common/eim.md new file mode 100644 index 0000000000..38c9ab8a6f --- /dev/null +++ b/pages/common/eim.md @@ -0,0 +1,36 @@ +# eim + +> 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}}`