# 使用 Homebrew 安装 globstar

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

## 安装

```sh
sudo av install brew:globstar
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install globstar
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:globstar
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/globstar>
- **版本:** 0.7.2
- **来源摘要:** Static analysis toolkit for writing and running code checkers
- **主页:** <https://globstar.dev>
- **仓库:** <https://github.com/DeepSourceCorp/globstar>
- **上游文档:** <https://globstar.dev>
- **许可证:** MIT
- **源码归档:** <https://github.com/DeepSourceCorp/globstar/archive/refs/tags/v0.7.2.tar.gz>
- **最后更新:** 2026-07-29T16:05:02+02:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- globstar (cli)
- globstar (别名)

## 构建依赖

- go

## 安装行为

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

## 版本和新鲜度

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

Globstar is an open-source static-analysis toolkit from DeepSource for writing custom code checkers and running them through a portable command-line binary.

### 项目历史

The project appeared publicly in the DeepSourceCorp GitHub organization in 2025. Its README presents Globstar as a way to expose DeepSource's experience with static analyzers through a smaller open-source tool built around tree-sitter queries, YAML checker definitions, and a Go interface for more complex checks.

### 采用历史

Adoption signals are early and mostly package-manager oriented: the project documents a single-binary installer, Homebrew packaging, and CI usage. That positions it for teams that want repository-local SAST rules without building a full compiler-analysis stack.

### 使用方式

Practitioners define custom checkers under a repository's .globstar directory and run globstar check locally or in CI. The documented workflow combines built-in checks with project-specific tree-sitter patterns.

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

Globstar is notable in CLI packaging because it packages AST-aware checks as a small Go binary rather than a language-server plugin or SaaS-only workflow.

### 时间线

- 2025: v0.0.1 tag appeared in the DeepSourceCorp/globstar repository.
- 2025: v0.6.0 was published through GitHub releases.

### Related projects

- Globstar builds on tree-sitter and sits near Semgrep-style custom static-analysis workflows, but its documented checker format is centered on repository-local Globstar YAML and Go checkers.

### 来源

- <https://formulae.brew.sh/formula/globstar>
- <https://github.com/DeepSourceCorp/globstar>
- <https://github.com/DeepSourceCorp/globstar/releases>
- <https://globstar.dev/>
- <https://raw.githubusercontent.com/DeepSourceCorp/globstar/main/README.md>


## 安全说明

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


## 相关链接

- [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.
- [go](https://pkg.so/zh-hans/brew/go/) - Build dependency declared by Homebrew.
- [sonar-scanner](https://pkg.so/zh-hans/brew/sonar-scanner/) - Shares pkgdb curated category or tags: ci, cli, code-quality, developer-tools, static-analysis.
- [staticcheck](https://pkg.so/zh-hans/brew/staticcheck/) - Shares pkgdb curated category or tags: ci, cli, code-quality, developer-tools, static-analysis.
- [datadog-static-analyzer](https://pkg.so/zh-hans/brew/datadog-static-analyzer/) - Shares pkgdb curated category or tags: ci, cli, code-quality, developer-tools, static-analysis.
- [swiftlint](https://pkg.so/zh-hans/brew/swiftlint/) - Shares pkgdb curated category or tags: cli, code-quality, developer-tools, static-analysis.
- [actionlint](https://pkg.so/zh-hans/brew/actionlint/) - Shares pkgdb curated category or tags: ci, cli, developer-tools, static-analysis.
- [golangci-lint](https://pkg.so/zh-hans/brew/golangci-lint/) - Shares pkgdb curated category or tags: ci, cli, developer-tools, static-analysis.
- [semgrep](https://pkg.so/zh-hans/brew/semgrep/) - Shares pkgdb curated category or tags: cli, developer-tools, sast, static-analysis.
- [ansible-lint](https://pkg.so/zh-hans/brew/ansible-lint/) - Shares pkgdb curated category or tags: ci, cli, code-quality, developer-tools.

## Combined YAML source

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