diff --git a/docs/en/get-started/linux-setup.rst b/docs/en/get-started/linux-setup.rst index 547a829b98c..89e30a24333 100644 --- a/docs/en/get-started/linux-setup.rst +++ b/docs/en/get-started/linux-setup.rst @@ -103,6 +103,43 @@ Then, install the EIM Command Line Interface (CLI) alone, or together with Graph sudo dnf install eim-cli +Linux Installation via Homebrew +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +EIM can also be installed on Linux using `Homebrew `_. This method works on most Linux distributions and is a good alternative if you prefer Homebrew over system package managers. + +First, install Homebrew if you have not already: + +.. code-block:: bash + + /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" + +Then add the Espressif tap and install EIM: + +.. code-block:: bash + + # Add the Espressif tap + brew tap espressif/eim + + # Install CLI only + brew install eim + + # Or install GUI (includes CLI) + brew install --cask eim-gui + +To update EIM later: + +.. code-block:: bash + + brew upgrade eim + # or + brew upgrade --cask eim-gui + +.. note:: + + The GUI version requires a graphical environment and may have additional dependencies depending on your Linux distribution. + + Step 3: Install ESP-IDF Using EIM ================================= diff --git a/docs/zh_CN/get-started/linux-setup.rst b/docs/zh_CN/get-started/linux-setup.rst index 39a44e84167..23d7dfcbc0f 100644 --- a/docs/zh_CN/get-started/linux-setup.rst +++ b/docs/zh_CN/get-started/linux-setup.rst @@ -33,6 +33,7 @@ - `下载 EIM`_ - `通过 APT 安装(Debian 发行版)`_ - `通过 DNF 安装(RPM 发行版)`_ +- `通过 Homebrew 安装(Linux)`_ 通过 APT 或 DNF 安装 EIM 便于后续升级更新。 @@ -103,6 +104,45 @@ sudo dnf install eim-cli +.. _install-eim-linux-homebrew: + +通过 Homebrew 安装(Linux) +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +EIM 也可以使用 `Homebrew `_ 在 Linux 上安装。此方法适用于大多数 Linux 发行版,如果您更喜欢 Homebrew 而不是系统包管理器,这是一个很好的替代方案。 + +首先,如果您尚未安装 Homebrew,请安装它: + +.. code-block:: bash + + /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" + +然后添加 Espressif tap 并安装 EIM: + +.. code-block:: bash + + # 添加 Espressif tap + brew tap espressif/eim + + # 仅安装 CLI + brew install eim + + # 或安装 GUI(含 CLI) + brew install --cask eim-gui + +稍后更新 EIM: + +.. code-block:: bash + + brew upgrade eim + # 或 + brew upgrade --cask eim-gui + +.. note:: + + GUI 版本需要图形环境,可能还有其他取决于您 Linux 发行版的依赖项。 + + 第三步:使用 EIM 安装 ESP-IDF =================================