# 使用 Homebrew, winget 安装 sf

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

## 安装

```sh
sudo av install brew:sf
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install sf
```

  证据: local Homebrew formula metadata

### Windows

- winget (92%):

```sh
winget install --id Nexaflow.SignalFoundry -e
```

  证据: Windows Package Manager source index: Nexaflow.SignalFoundry from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:sf
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/sf>
- **版本:** 2.145.6
- **来源摘要:** Command-line toolkit for Salesforce development
- **主页:** <https://developer.salesforce.com/tools/salesforcecli>
- **上游文档:** <https://developer.salesforce.com/tools/salesforcecli>
- **许可证:** BSD-3-Clause
- **源码归档:** <https://registry.npmjs.org/@salesforce/cli/-/cli-2.145.6.tgz>
- **最后更新:** 2026-07-29T23:56:59Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- sf (cli)
- sfdx (cli)
- sf (别名)
- sfdx (别名)

## 依赖

- node

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 all

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 2.145.6
- 管理器更新时间: 2026-07-29
- 本地数据: OK
- 上游仓库: https://developer.salesforce.com/tools/salesforcecli
- 信息: Release/tag comparison is only available for GitHub repositories.

## 安全说明

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



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: sfdx-project.json
- Windows: sfdx-project.json
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** sf
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

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

- winget - Nexaflow.SignalFoundry: normalized package name match | Windows Package Manager source index: Nexaflow.SignalFoundry from https://cdn.winget.microsoft.com/cache/source.msix
- winget - Salesforce.sfdx-cli: installed executable or alias match | Windows Package Manager source index: Salesforce.sfdx-cli from https://cdn.winget.microsoft.com/cache/source.msix


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [node](https://pkg.so/zh-hans/brew/node/) - Runtime dependency declared by Homebrew.
- [prettier](https://pkg.so/zh-hans/brew/prettier/) - Shares pkgdb curated category or tags: cli, developer-tools, typescript.
- [vite](https://pkg.so/zh-hans/brew/vite/) - Shares pkgdb curated category or tags: cli, developer-tools, typescript.
- [nx](https://pkg.so/zh-hans/brew/nx/) - Shares pkgdb curated category or tags: cli, developer-tools, typescript.
- [typescript-language-server](https://pkg.so/zh-hans/brew/typescript-language-server/) - Shares pkgdb curated category or tags: cli, developer-tools, typescript.
- [esbuild](https://pkg.so/zh-hans/brew/esbuild/) - Shares pkgdb curated category or tags: cli, developer-tools, typescript.
- [bash-language-server](https://pkg.so/zh-hans/brew/bash-language-server/) - Shares pkgdb curated category or tags: cli, developer-tools, typescript.
- [oxlint](https://pkg.so/zh-hans/brew/oxlint/) - Shares pkgdb curated category or tags: cli, developer-tools, typescript.
- [oxfmt](https://pkg.so/zh-hans/brew/oxfmt/) - Shares pkgdb curated category or tags: cli, developer-tools, typescript.
- [apify-cli](https://pkg.so/zh-hans/brew/apify-cli/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, cloud, command-line, developer, developer-tools.
- [bit](https://pkg.so/zh-hans/brew/bit/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, development, node.
- [gatsby-cli](https://pkg.so/zh-hans/brew/gatsby-cli/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, command-line, developer, developer-tools, development.

## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
