# 使用 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
- **软件包管理器页面:** <https://formulae.brew.sh/formula/lean-cli>
- **版本:** 1.2.4
- **来源摘要:** Command-line tool to develop and manage LeanCloud apps
- **主页:** <https://github.com/leancloud/lean-cli>
- **仓库:** <https://github.com/leancloud/lean-cli>
- **许可证:** Apache-2.0
- **源码归档:** <https://github.com/leancloud/lean-cli/archive/refs/tags/v1.2.4.tar.gz>
- **最后更新:** 2026-07-26T13:41:00+02:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- tds (cli)
- tds (别名)

## 构建依赖

- go

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.2.4
- 管理器更新时间: 2026-07-26
- 本地数据: OK
- 上游仓库: https://github.com/leancloud/lean-cli
- 检测到的最新版本: v1.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

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** lean-cli
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Conflicts With:** elan-init
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

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

- 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


## 相关链接

- [Cloud CLI packages](https://pkg.so/zh-hans/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [go](https://pkg.so/zh-hans/brew/go/) - Build dependency declared by Homebrew.
- [helm](https://pkg.so/zh-hans/brew/helm/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, deployment.
- [ansible](https://pkg.so/zh-hans/brew/ansible/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, deployment.
- [flyctl](https://pkg.so/zh-hans/brew/flyctl/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, deployment.
- [argocd](https://pkg.so/zh-hans/brew/argocd/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, deployment.
- [aws-sam-cli](https://pkg.so/zh-hans/brew/aws-sam-cli/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, deployment.
- [firebase-cli](https://pkg.so/zh-hans/brew/firebase-cli/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, deployment.
- [railway](https://pkg.so/zh-hans/brew/railway/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, deployment.
- [helmfile](https://pkg.so/zh-hans/brew/helmfile/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, deployment.
- [rain](https://pkg.so/zh-hans/brew/rain/) - Local package facts share a topical domain. Shared terms: cli, cloud, cloud-infrastructure, command-line, deployment.
- [firebase-tools](https://pkg.so/zh-hans/npm/firebase-tools/) - Local package facts share a topical domain. Shared terms: cli, cloud, cloud-infrastructure, command-line, deployment.
- [wrangler](https://pkg.so/zh-hans/npm/wrangler/) - Local package facts share a topical domain. Shared terms: cli, cloud, cloud-infrastructure, command-line, deployment.

## 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
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
