# 使用 Homebrew, scoop 安装 lean-cli

查看 lean-cli 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:lean-cli
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install lean-cli
```

  证据: local Homebrew formula metadata

### Windows

- Scoop (92%):

```sh
scoop install main/lean-cli
```

  证据: Scoop official bucket manifest trees: bucket/lean-cli.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:lean-cli
- **软件包管理器:** Homebrew
- **版本:** 1.2.4
- **来源摘要:** Command-line tool to develop and manage LeanCloud apps
- **主页:** <https://github.com/leancloud/lean-cli>
- **仓库:** <https://github.com/leancloud/lean-cli>
- **最后更新:** 2026-07-26T13:41:00+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- tds (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.2.4
## 项目历史与用法

lean-cli is LeanCloud's command-line tool for developing and managing LeanCloud and TapTap Developer Services applications, especially LeanEngine projects.

### 项目历史

The repository README describes lean-cli as the LeanEngine command-line tool and documents Homebrew, GitHub release, and LeanCloud CDN installation paths. The public tags show the 1.0 line appearing in March 2022 and the 1.2 line continuing through May 2023.

### 采用历史

The tool is mainly adopted inside LeanCloud's platform workflow rather than as a general-purpose cloud CLI. Homebrew and Scoop packaging make it available to developers who deploy LeanEngine apps from local machines.

### 使用方式

The official CLI guide documents commands for login, app switching, local development with up, project creation, deployment, publishing, database access, file management, logs, debug console access, and environment inspection.

### 为什么软件包爱好者会关心

lean-cli is package-manager-significant because it exposes a regional PaaS workflow through a native CLI. It is also a naming trap in package indexes because it is unrelated to QuantConnect's LEAN CLI and the Lean theorem prover ecosystem.

### 时间线

- 2022-03-29: v1.0.0 tag published for leancloud/lean-cli.
- 2022-10-19: v1.1.0 tag published.
- 2023-05-15: v1.2.4 tag published.

### Related projects

- Related projects and services include LeanCloud, LeanEngine, TapTap Developer Services, LeanDB, LeanCache, and LeanCloud's releases.leanapp.cn distribution channel.

### 来源

- <https://docs.leancloud.cn/en/sdk/engine/cli/>
- <https://formulae.brew.sh/formula/lean-cli>
- <https://github.com/leancloud/lean-cli>
- <https://github.com/leancloud/lean-cli/tags>


## 安全说明

infrastructure mutation or orchestration signal.

- **Geiger 风险:** orange / 中
- infrastructure mutation or orchestration signal

## 其他软件包管理器记录

- Scoop - main/lean-cli: normalized package name match | Scoop official bucket manifest trees: bucket/lean-cli.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/lean-cli.yml](https://github.com/mxcl/pkgdb/blob/main/combined/lean-cli.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
