diff --git a/README.md b/README.md index d431d69b2..ed2209d10 100644 --- a/README.md +++ b/README.md @@ -50,15 +50,21 @@ Before you start, make sure you have: #### Install CLI -**From npm (recommended):** +Choose **one** of the following methods: + +**Option 1 — From npm (recommended):** ```bash npm install -g @larksuite/cli ``` -**From source:** +**Option 2 — From source:** + +Requires Go `v1.23`+ and Python 3. ```bash +git clone https://github.com/larksuite/cli.git +cd cli make install ``` diff --git a/README.zh.md b/README.zh.md index 52a78c3be..811cf2949 100644 --- a/README.zh.md +++ b/README.zh.md @@ -50,15 +50,21 @@ #### 安装 CLI -**从 npm 安装(推荐):** +以下两种方式**任选其一**: + +**方式一 — 从 npm 安装(推荐):** ```bash npm install -g @larksuite/cli ``` -**从源码安装:** +**方式二 — 从源码安装:** + +需要 Go `v1.23`+ 和 Python 3。 ```bash +git clone https://github.com/larksuite/cli.git +cd cli make install ```