# 使用 Homebrew 安装 tfproviderlint

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

## 安装

```sh
sudo av install brew:tfproviderlint
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install tfproviderlint
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:tfproviderlint
- **软件包管理器:** Homebrew
- **版本:** 0.31.0
- **来源摘要:** Terraform Provider Lint Tool
- **主页:** <https://github.com/bflad/tfproviderlint>
- **仓库:** <https://github.com/bflad/tfproviderlint>
- **最后更新:** 2026-07-26T00:50:39+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- tfproviderlint (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

tfproviderlint is a Go static-analysis toolkit and CLI for Terraform provider source code. It targets provider maintainers rather than Terraform module consumers, checking acceptance tests, resources, schemas, validation code, and other Plugin SDK patterns.

### 项目历史

The project packages Terraform-provider-specific checks as Go analysis passes and command-line tools. Its README distinguishes `tfproviderlint`, which includes standard checks, from `tfproviderlintx`, which includes extra opt-in checks.

The documented check catalog shows the project evolving with the Terraform Plugin SDK: some checks were removed in later versions after upstream APIs changed or deprecated patterns became obsolete, while new checks cover resource, schema, validation, and acceptance-test conventions.

### 采用历史

tfproviderlint has a longer provider-authoring niche than most tools in this batch. The README documents release binaries, Go installation, Docker usage, Homebrew installation from the maintainer tap, and a GitHub Action, which indicates use in local development and CI for Terraform provider repositories.

### 使用方式

Users run `tfproviderlint ./...` inside Terraform provider source trees, pass check flags to enable or disable analyzers, use `-fix` for checks with automated fixes, or invoke it through `go vet -vettool`. Docker and GitHub Action usage support CI workflows.

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

For package nerds, tfproviderlint is significant because it encodes project-specific provider-maintainer knowledge as installable tooling. It is both a command-line package and a Go library of analyzers, making it useful for custom lint tools and automated provider quality gates.

### 时间线

- 2024: GitHub tags list v0.30.0 in May.
- 2025: GitHub releases list v0.31.0 in February.
- 2026: Homebrew formula metadata lists stable version 0.31.0 with bottled builds.

### Related projects

- Terraform Plugin SDK
- Go analysis framework
- go vet
- tfproviderlint-github-action

### 来源

- <https://formulae.brew.sh/api/formula/tfproviderlint.json>
- <https://github.com/bflad/tfproviderlint#readme>
- <https://github.com/bflad/tfproviderlint/tags>


## 安全说明

narrow executable package without higher-risk signals.

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


## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
