# 使用 Homebrew 安装 scalastyle

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

## 安装

```sh
sudo av install brew:scalastyle
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install scalastyle
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:scalastyle
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/scalastyle>
- **版本:** 1.0.0
- **来源摘要:** Run scalastyle from the command-line
- **主页:** <http://www.scalastyle.org/command-line.html>
- **上游文档:** <http://www.scalastyle.org/command-line.html>
- **许可证:** Apache-2.0
- **源码归档:** <https://oss.sonatype.org/content/repositories/releases/org/scalastyle/scalastyle_2.12/1.0.0/scalastyle_2.12-1.0.0-batch.jar>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- scalastyle (cli)
- scalastyle (别名)

## 依赖

- openjdk

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.0.0
- 本地数据: OK
- 上游仓库: http://www.scalastyle.org/command-line.html
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.

## 安全说明

narrow executable package without higher-risk signals.

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


## 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: scalastyle_config.xml
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** scalastyle
- **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


## 相关链接

- [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.
- [openjdk](https://pkg.so/zh-hans/brew/openjdk/) - Runtime dependency declared by Homebrew.
- [eslint](https://pkg.so/zh-hans/brew/eslint/) - Shares pkgdb curated category or tags: cli, code-quality, developer-tools, static-analysis.
- [pylint](https://pkg.so/zh-hans/brew/pylint/) - Shares pkgdb curated category or tags: cli, code-quality, developer-tools, static-analysis.
- [phpstan](https://pkg.so/zh-hans/brew/phpstan/) - Shares pkgdb curated category or tags: cli, code-quality, developer-tools, static-analysis.
- [pmd](https://pkg.so/zh-hans/brew/pmd/) - Shares pkgdb curated category or tags: cli, code-quality, developer-tools, static-analysis.
- [checkstyle](https://pkg.so/zh-hans/brew/checkstyle/) - Shares pkgdb curated category or tags: cli, code-quality, developer-tools, static-analysis.
- [luacheck](https://pkg.so/zh-hans/brew/luacheck/) - Shares pkgdb curated category or tags: cli, code-quality, developer-tools, static-analysis.
- [pyscn](https://pkg.so/zh-hans/brew/pyscn/) - Shares pkgdb curated category or tags: cli, code-quality, developer-tools, static-analysis.
- [detekt](https://pkg.so/zh-hans/brew/detekt/) - Shares pkgdb curated category or tags: cli, code-quality, developer-tools, static-analysis.
- [wartremover](https://pkg.so/zh-hans/brew/wartremover/) - Local package facts share a topical domain. Shared terms: analysis, cli, code, code-quality, developer.

## Combined YAML source

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