# Install lean-cli with Homebrew, scoop

Command-line tool to develop and manage LeanCloud apps. Version 1.2.4 via Homebrew; verified 2026-07-26. Also installable with scoop: scoop install main/lean-cli.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

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

  Evidence: local Homebrew formula metadata

### Windows

- Scoop (92%):

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

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

## Package facts

- **Package key:** brew:lean-cli
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/lean-cli>
- **Version:** 1.2.4
- **Source summary:** Command-line tool to develop and manage LeanCloud apps
- **Homepage:** <https://github.com/leancloud/lean-cli>
- **Repository:** <https://github.com/leancloud/lean-cli>
- **License:** Apache-2.0
- **Source archive:** <https://github.com/leancloud/lean-cli/archive/refs/tags/v1.2.4.tar.gz>
- **Last updated:** 2026-07-26T13:41:00+02:00
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- tds (cli)
- tds (alias)

## Build dependencies

- go

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 1.2.4
- Package-manager updated: 2026-07-26
- Local data: ok
- Upstream repository: https://github.com/leancloud/lean-cli
- Upstream latest detected: v1.2.4 (current)
## Project history and usage

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

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 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.

### Sources

- <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>


## Security Notes

infrastructure mutation or orchestration signal.

- **Geiger risk:** orange / medium
- infrastructure mutation or orchestration signal

## Source Database Details

- **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

## Other Package-Manager Records

- 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


## Related links

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


## Sources

- 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
