# 使用 Homebrew, apk, MacPorts, Nix, pacman, scoop, winget 安装 actionlint

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

## 安装

```sh
sudo av install brew:actionlint
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install actionlint
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install actionlint
```

  证据: MacPorts ports tree: devel/actionlint/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add actionlint
```

  证据: Alpine Linux edge package indexes: actionlint from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#actionlint
```

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

- pacman (92%):

```sh
sudo pacman -S actionlint
```

  证据: Arch Linux sync databases: actionlint from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

### Windows

- Scoop (92%):

```sh
scoop install main/actionlint
```

  证据: Scoop official bucket manifest trees: bucket/actionlint.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id rhysd.actionlint -e
```

  证据: Windows Package Manager source index: rhysd.actionlint from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:actionlint
- **软件包管理器:** Homebrew
- **版本:** 1.7.12
- **来源摘要:** Static checker for GitHub Actions workflow files
- **主页:** <https://rhysd.github.io/actionlint/>
- **仓库:** <https://github.com/rhysd/actionlint>
- **最后更新:** 2026-07-26T13:19:48+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- actionlint (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

actionlint is a static checker for GitHub Actions workflow files. It matters in CLI package culture because it brought fast local linting, expression checks, action input validation, and CI-friendly diagnostics to a workflow format that many repositories otherwise validate only after pushing.

### 项目历史

The rhysd/actionlint repository was created on 2021-05-25. Its README presents the tool as a static checker for GitHub Actions workflow files with syntax checks, expression type checks, action input/output checks, reusable workflow checks, ShellCheck and pyflakes integrations, and security checks.

The first GitHub release, v1.0.0, was published on 2021-06-16. The project continued as a Go command-line tool with install, usage, configuration, API, and reference documentation.

### 采用历史

actionlint was packaged broadly across developer distributions. The supplied package-manager facts list apk, Homebrew, MacPorts, Nix, pacman, Scoop, and winget, matching the official installation documentation's emphasis on released binaries, Homebrew, go install, Docker, and integrations.

GitHub repository metadata showed nearly 4,000 stars by June 2026, a strong adoption signal for a specialized workflow linter.

### 使用方式

The common local workflow is simply running actionlint at the repository root so it auto-detects workflow files. Optional configuration files live at .github/actionlint.yaml or .github/actionlint.yml, mainly for self-hosted runner labels, repository variables, and path-specific ignores.

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

Package maintainers care about actionlint because it packages a fast, self-contained static analysis tool for a file format used by a huge share of open source projects. It also bridges ecosystems by integrating ShellCheck, pyflakes, reviewdog, pre-commit, editor tooling, Docker images, and GitHub Actions itself.

### 时间线

- 2021-05-25: rhysd/actionlint repository created on GitHub.
- 2021-06-16: v1.0.0 published as the first GitHub release.
- 2026-06: GitHub API metadata showed active maintenance and broad package-manager availability.

### Related projects

- actionlint is related to GitHub Actions, ShellCheck, pyflakes, reviewdog, pre-commit, super-linter, and editor or CI integrations that surface workflow diagnostics.

### 来源

- <https://api.github.com/repos/rhysd/actionlint>
- <https://api.github.com/repos/rhysd/actionlint/releases>
- <https://github.com/rhysd/actionlint#readme>
- <https://github.com/rhysd/actionlint/blob/main/docs/config.md>
- source_facts.package-manager


## 安全说明

没有找到 actionlint 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## 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: .github/actionlint.yaml, .github/actionlint.yml
## 其他软件包管理器记录

- Nix - actionlint: normalized package name match | nixpkgs package indexes: pkgs/by-name/ac/actionlint/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - actionlint - 1.7.12-r2: normalized package name match | Alpine Linux edge package indexes: actionlint from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Static checker for GitHub Actions workflow files | https://github.com/rhysd/actionlint
- apk - actionlint-doc - 1.7.12-r2: normalized package name match | Alpine Linux edge package indexes: actionlint-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Static checker for GitHub Actions workflow files (documentation) | https://github.com/rhysd/actionlint
- pacman - actionlint - 1.7.12-1: normalized package name match | Arch Linux sync databases: actionlint from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Static checker for GitHub Actions workflow files | https://github.com/rhysd/actionlint
- MacPorts - actionlint: normalized package name match | MacPorts ports tree: devel/actionlint/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/actionlint: normalized package name match | Scoop official bucket manifest trees: bucket/actionlint.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - rhysd.actionlint: normalized package name match | Windows Package Manager source index: rhysd.actionlint from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

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