# 使用 Homebrew, scoop 安装 forcecli

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

## 安装

```sh
sudo av install brew:forcecli
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install forcecli
```

  证据: local Homebrew formula metadata

### Windows

- Scoop (92%):

```sh
scoop install main/force
```

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

## 软件包事实

- **软件包键:** brew:forcecli
- **软件包管理器:** Homebrew
- **版本:** 1.13.0
- **来源摘要:** Command-line interface to Force.com
- **主页:** <https://force-cli.herokuapp.com/>
- **仓库:** <https://github.com/ForceCLI/force>
- **最后更新:** 2026-07-26T11:37:57+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- force (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Force CLI is a Go command-line interface for Force.com and Salesforce orgs. The README identifies it as a command-line interface to force.com and documents commands for login, metadata import/export, SOQL queries, bulk APIs, Apex, packages, records, limits, and org inspection.

### 项目历史

The project is maintained in the ForceCLI/force repository. Its README labels the documented generation as force CLI v1.3.0, while the repository tag list shows later v1.x releases, including v1.13.0.

### 采用历史

The README documents precompiled binaries from the GitHub release page or CLI home page, plus source installation with Go. It also documents reuse of SFDX usernames or aliases when a stored force session is unavailable, placing the tool alongside Salesforce DX workflows rather than only older standalone Force.com usage.

### 使用方式

Users authenticate with force login, list and switch saved logins, inspect objects, run SOQL, import and export metadata directories, deploy metadata, run Apex tests, and interact with Bulk API 1.0 and 2.0. The generated command docs expose a --config option whose default directory is .force, but no specific config file path is documented.

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

Force CLI is significant as a standalone Go-era Salesforce CLI that predates or coexists with SFDX-style tooling. For package managers, it is a single executable that wraps authenticated cloud workflows, release binaries, and local metadata directory conventions.

### 时间线

- v1.3.0: README documents the command set under the force CLI v1.3.0 heading.
- v1.13.0: official Git tags include a later v1.13.0 release line.

### Related projects

- The README and command docs relate Force CLI to Force.com, Salesforce, SFDX authentication, Salesforce metadata directories, Apex, SOQL, and Bulk API workflows.

### 来源

- <https://github.com/ForceCLI/force>
- <https://raw.githubusercontent.com/ForceCLI/force/master/README.md>
- <https://raw.githubusercontent.com/ForceCLI/force/master/docs/force.md>


## 安全说明

没有找到 forcecli 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


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

- Scoop - main/force: installed executable or alias match | Scoop official bucket manifest trees: bucket/force.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/forcecli.yml](https://github.com/mxcl/pkgdb/blob/main/combined/forcecli.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
