# 使用 Homebrew 安装 falco

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

## 安装

```sh
sudo av install brew:falco
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install falco
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:falco
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/falco>
- **版本:** 2.3.0
- **来源摘要:** VCL parser and linter optimized for Fastly
- **主页:** <https://github.com/ysugimoto/falco>
- **仓库:** <https://github.com/ysugimoto/falco>
- **许可证:** MIT
- **源码归档:** <https://github.com/ysugimoto/falco/archive/refs/tags/v2.3.0.tar.gz>
- **最后更新:** 2026-07-26T11:37:55+02:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- falco (cli)
- falco (别名)

## 构建依赖

- go

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 2.3.0
- 管理器更新时间: 2026-07-26
- 本地数据: OK
- 上游仓库: https://github.com/ysugimoto/falco
- 检测到的最新版本: v2.3.0 (当前)
## 项目历史与用法

falco is a Fastly VCL developer tool, parser, linter, formatter, local simulator, debugger, and test runner. It is unrelated to the Falco cloud-native security project; the Homebrew formula points to ysugimoto/falco, whose README describes it as a Fastly VCL tool.

### 项目历史

The project was created in July 2021 to make Fastly custom VCL development less dependent on slow remote deployment validation. Its README frames the core problem as a deployment loop where service versions are cloned, custom VCL is uploaded, and syntax errors are discovered only when Fastly validates activation.

The implementation grew from local parsing and linting into a broader developer workflow: formatting, statistics, a VCL interpreter-backed local simulator, a debugger, unit testing written in VCL, a console, and Terraform plan support for the Fastly provider.

### 采用历史

Official install paths include downloadable GitHub release binaries, Homebrew, and `go install`, which places the tool in the normal package-manager and Go-toolchain channels used by Fastly VCL maintainers. The README also documents GitHub Actions usage through a separate falco-github-action, showing CI linting as a first-class workflow.

### 使用方式

The default workflow is `falco lint`, often run with include paths and verbose output against a main VCL file before deployment. Other subcommands cover `fmt`, `simulate`, `test`, `console`, `stats`, and `terraform`, making the CLI useful both interactively and in automated checks.

The tool is intentionally Fastly-specific. The README says it targets Fastly VCL 2.x and does not try to track newer generic Varnish syntax, because Fastly adds its own builtins, predefined variables, and compatibility constraints.

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

For package-manager users, this falco is a good example of a niche operational CLI whose package name collides with a much larger security project. Its significance is in bringing CDN configuration validation, formatting, simulation, and tests into local shells and CI rather than leaving mistakes to remote Fastly activation.

### 时间线

- 2021: Repository created for a Fastly-focused VCL developer tool.
- 2021: v0.1.0 released on GitHub.
- 2025: v2.0.0 released.
- 2026: v2.3.0 released.

### Related projects

- Fastly custom VCL is the primary target environment.
- The README documents Terraform plan support for the Fastly Terraform provider.
- The README links a GitHub Action for CI linting.

### 来源

- <https://github.com/ysugimoto/falco>
- <https://raw.githubusercontent.com/ysugimoto/falco/main/README.md>
- <https://api.github.com/repos/ysugimoto/falco>
- <https://api.github.com/repos/ysugimoto/falco/releases?per_page=100>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

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


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [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.
- [go](https://pkg.so/zh-hans/brew/go/) - Build dependency declared by Homebrew.
- [oxlint](https://pkg.so/zh-hans/brew/oxlint/) - Shares pkgdb curated category or tags: cli, developer-tools, linter, linting.
- [protolint](https://pkg.so/zh-hans/brew/protolint/) - Shares pkgdb curated category or tags: cli, developer-tools, linter, linting.
- [regal](https://pkg.so/zh-hans/brew/regal/) - Shares pkgdb curated category or tags: cli, developer-tools, linter, linting.
- [addons-linter](https://pkg.so/zh-hans/brew/addons-linter/) - Shares pkgdb curated category or tags: cli, developer-tools, linter, linting.
- [proselint](https://pkg.so/zh-hans/brew/proselint/) - Shares pkgdb curated category or tags: cli, developer-tools, linter, linting.
- [quick-lint-js](https://pkg.so/zh-hans/brew/quick-lint-js/) - Shares pkgdb curated category or tags: cli, developer-tools, linter, linting.
- [sherif](https://pkg.so/zh-hans/brew/sherif/) - Shares pkgdb curated category or tags: cli, developer-tools, linter, linting.
- [api-linter](https://pkg.so/zh-hans/brew/api-linter/) - Shares pkgdb curated category or tags: cli, developer-tools, linter, linting.
- [doc8](https://pkg.so/zh-hans/brew/doc8/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, linter, linting.
- [mado](https://pkg.so/zh-hans/brew/mado/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, linter, linting.

## Combined YAML source

View the package source record on GitHub. [combined/falco.yml](https://github.com/mxcl/pkgdb/blob/main/combined/falco.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
- cross-ecosystem install command graph
