# 使用 Homebrew, apk, dnf, MacPorts, Nix, pacman, zypper, scoop, winget 安装 act

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

## 安装

```sh
sudo av install brew:act
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install act
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install act
```

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

### Linux

- apk (92%):

```sh
sudo apk add act
```

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

- dnf (92%):

```sh
sudo dnf install act
```

  证据: Fedora Rawhide package metadata: act from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#act
```

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

- pacman (92%):

```sh
sudo pacman -S act
```

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

- zypper (92%):

```sh
sudo zypper install act
```

  证据: openSUSE Tumbleweed package metadata: act from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install main/act
```

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

- winget (92%):

```sh
winget install --id nektos.act -e
```

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

## 软件包事实

- **软件包键:** brew:act
- **软件包管理器:** Homebrew
- **版本:** 0.2.89
- **来源摘要:** Run your GitHub Actions locally
- **主页:** <https://nektosact.com>
- **仓库:** <https://github.com/nektos/act>
- **最后更新:** 2026-06-15T10:20:09-04:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- act (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

act is a command-line runner for executing GitHub Actions workflows locally. It became a standard package-manager-friendly developer tool because it turns repository workflow files into a local Docker-backed feedback loop.

### 项目历史

The nektos/act repository was created in January 2019, shortly after GitHub Actions entered the broader developer-tooling conversation. Its README describes the core idea as reading workflows from .github/workflows, preparing Docker images, and running the jobs locally with filesystem and environment behavior modeled on GitHub-hosted runners.

The first GitHub release, v0.0.1, was published on 2019-01-15. Later releases continued the same basic CLI shape while expanding compatibility with GitHub Actions features, runner images, secrets, variables, and workflow execution options.

### 采用历史

act spread through CLI package ecosystems because it solved a common GitHub Actions pain point: testing workflow changes without committing and waiting for hosted CI. The supplied package-manager facts list packages in Homebrew, apk, dnf, MacPorts, Nix, pacman, Scoop, winget, and zypper.

GitHub repository metadata showed more than 70,000 stars by June 2026, making act one of the highest-visibility local GitHub Actions tools in package-manager catalogs.

### 使用方式

Users typically run act from a repository to execute jobs defined under .github/workflows. The tool can read command-line options from actrc files, load secrets from a .secrets file, and use Docker to run workflow steps in local containers.

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

Package maintainers care about act because it is a small CLI with a large CI surface area: it depends on Docker behavior, tracks GitHub Actions semantics, and is often used in pre-push or local validation loops. Its many package-manager entries make version freshness and reproducible installation especially visible.

### 时间线

- 2019-01-02: nektos/act repository created on GitHub.
- 2019-01-15: v0.0.1 published as the first GitHub release.
- 2026-06: GitHub API metadata showed active maintenance and broad star/fork adoption.

### Related projects

- act is closely tied to GitHub Actions, Docker, GitHub-hosted runner images, and editor integrations such as GitHub Local Actions for VS Code.

### 来源

- <https://api.github.com/repos/nektos/act>
- <https://api.github.com/repos/nektos/act/releases>
- <https://github.com/nektos/act#readme>
- <https://github.com/nektos/act/blob/master/cmd/root.go>
- 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: $XDG_CONFIG_HOME/act/actrc, ~/.actrc, ./.actrc

## Credential files

- Unix: ./.secrets
## 其他软件包管理器记录

- Nix - act: normalized package name match | nixpkgs package indexes: pkgs/by-name/ac/act/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - act - 0.2.83-r6: normalized package name match | Alpine Linux edge package indexes: act from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Run your GitHub Actions locally | https://github.com/nektos/act
- apk - act-doc - 0.2.83-r6: normalized package name match | Alpine Linux edge package indexes: act-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Run your GitHub Actions locally (documentation) | https://github.com/nektos/act
- dnf - act - 1.6.0-29.fc45: normalized package name match | Fedora Rawhide package metadata: act from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Automatic Component Toolkit | https://github.com/Autodesk/AutomaticComponentToolkit
- pacman - act - 0.2.89-1: normalized package name match | Arch Linux sync databases: act from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Run your GitHub Actions locally | https://github.com/nektos/act
- zypper - act - 0.2.84-1.6: normalized package name match | openSUSE Tumbleweed package metadata: act from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Run your GitHub Actions locally | https://github.com/nektos/act
- MacPorts - act: normalized package name match | MacPorts ports tree: devel/act/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/act: normalized package name match | Scoop official bucket manifest trees: bucket/act.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - nektos.act: normalized package name match | Windows Package Manager source index: nektos.act from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

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