# 使用 Homebrew, Nix 安装 svlint

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

## 安装

```sh
sudo av install brew:svlint
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install svlint
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#svlint
```

  证据: nixpkgs package indexes: pkgs/by-name/sv/svlint/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:svlint
- **软件包管理器:** Homebrew
- **版本:** 0.9.5
- **来源摘要:** SystemVerilog linter
- **主页:** <https://github.com/dalance/svlint>
- **仓库:** <https://github.com/dalance/svlint>
- **最后更新:** 2026-06-14T15:13:51+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- svlint (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

svlint is a Rust command-line linter for SystemVerilog. It belongs to the small but important group of HDL tools that package managers expose as normal Unix-style binaries, making hardware-design checks easier to install in CI jobs and editor workflows.

### 项目历史

The upstream README describes svlint as a SystemVerilog linter compliant with IEEE1800-2017, written in Rust and based on sv-parser. GitHub repository metadata records the dalance/svlint repository as created on 2019-10-21, and the releases API records v0.1.0 published on 2019-10-29.

### 采用历史

The README documents several distribution routes: downloadable releases, Cargo installation with `cargo install svlint`, and Snap installation. The input package-manager facts also show it packaged for Homebrew and Nix, which reflects its use beyond Rust-only environments.

### 使用方式

Typical usage is the direct CLI pattern: run `svlint --help` to inspect options, `svlint --version` to identify the installed binary, and configure lint rules through `.svlint.toml`. The manual says svlint searches upward from the current directory for `.svlint.toml`, allows `--config`, and supports `SVLINT_CONFIG` for explicit project-wide rules.

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

svlint matters to package nerds because it brings hardware linting into the same install-and-run model as software linters. It also exposes prewritten rulesets and wrapper scripts, so the packaging boundary affects how much of the upstream release is available beyond the main binary.

### 时间线

- 2019: GitHub repository created for dalance/svlint.
- 2019: v0.1.0 release published.
- 2025: v0.9.5 release published.

### Related projects

- svlint is based on sv-parser, is integrated into svls, and has an official sample repository for external svlint plugins.

### 来源

- <https://api.github.com/repos/dalance/svlint>
- <https://api.github.com/repos/dalance/svlint/releases?per_page=100>
- <https://github.com/dalance/svlint>
- <https://github.com/dalance/svlint/blob/master/MANUAL.md>
- source_facts.package-manager


## 安全说明

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: .svlint.toml
## 其他软件包管理器记录

- Nix - svlint: normalized package name match | nixpkgs package indexes: pkgs/by-name/sv/svlint/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

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


## 来源

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