# 使用 Homebrew, apk, chocolatey, dnf, MacPorts, Nix, pacman, apt, scoop, winget, zypper 安装 go-task

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

## 安装

```sh
sudo av install brew:go-task
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install go-task
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install go-task
```

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

### Linux

- apk (92%):

```sh
sudo apk add go-task
```

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

- dnf (92%):

```sh
sudo dnf install go-task
```

  证据: Fedora Rawhide package metadata: go-task 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#go-task
```

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

- pacman (92%):

```sh
sudo pacman -S go-task
```

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

- Debian apt (92%):

```sh
sudo apt install taskwarrior
```

  证据: Debian stable package indexes: taskwarrior from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- zypper (92%):

```sh
sudo zypper install taskwarrior
```

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

### Windows

- Chocolatey (92%):

```sh
choco install go-task
```

  证据: Chocolatey community package catalog: go-task from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','gitextensions'

- Scoop (92%):

```sh
scoop install main/task
```

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

- winget (92%):

```sh
winget install --id Task.Task -e
```

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

## 软件包事实

- **软件包键:** brew:go-task
- **软件包管理器:** Homebrew
- **版本:** 3.52.0
- **来源摘要:** Task is a task runner/build tool that aims to be simpler and easier to use
- **主页:** <https://taskfile.dev/>
- **仓库:** <https://github.com/go-task/task>
- **最后更新:** 2026-07-27T16:47:24+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- task (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Task is a cross-platform task runner and build tool, commonly installed as the task command and configured with YAML Taskfiles.

### 项目历史

The go-task/task repository was created in 2017. The project presents itself as a modern task runner inspired by Make, using Taskfile.yml or Taskfile.yaml rather than Makefiles and shell-only conventions.

### 采用历史

Task's ecosystem significance comes from its packaging breadth and project-file convention. Its installation docs list official packages maintained by the Task team for deb, rpm, apk, Homebrew tap, npm, GitHub Actions, and source installation, plus community-maintained distribution packages.

### 使用方式

Practitioners place a Taskfile in a project or home directory, define named tasks, and run task commands from any subdirectory while Task walks upward to find the file. The tool is used for build steps, local development automation, monorepo commands, CI helper scripts, and reusable global tasks.

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

For package-manager users, the brew:go-task formula is notable because the upstream project also has its own Homebrew tap and documents the core Homebrew repository formula, making the package identity part of the official installation path.

### 时间线

- 2017: GitHub repository created for Task.
- 2020s: Task documented a broad set of official and community package-manager installation paths.

### Related projects

- Task is commonly discussed as a Make alternative and overlaps with build automation tools used in language-specific and CI workflows.

### 来源

- <https://api.github.com/repos/go-task/task>
- <https://formulae.brew.sh/formula/go-task>
- <https://github.com/go-task/task>
- <https://taskfile.dev/docs/guide>
- <https://taskfile.dev/docs/installation>


## 安全说明

generalized runtime or code generation signal.

- **Geiger 风险:** yellow / 中
- generalized runtime or code generation signal


## 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: Taskfile.yml, taskfile.yml, Taskfile.yaml, taskfile.yaml, Taskfile.dist.yml, taskfile.dist.yml, Taskfile.dist.yaml, taskfile.dist.yaml, ~/Taskfile.yml, ~/taskfile.yml, ~/Taskfile.yaml, ~/taskfile.yaml, .taskrc.yml, .taskrc.yaml, ~/.taskrc.yml, ~/.taskrc.yaml, $XDG_CONFIG_HOME/task/taskrc.yml, $XDG_CONFIG_HOME/task/taskrc.yaml
## 其他软件包管理器记录

- Nix - go-task: normalized package name match | nixpkgs package indexes: pkgs/by-name/go/go-task/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - go-task - 3.52.0-r1: normalized package name match | Alpine Linux edge package indexes: go-task from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Task runner written in Go, installed as go-task | https://taskfile.dev/
- apk - go-task-bashcomp - 3.52.0-r1: normalized package name match | Alpine Linux edge package indexes: go-task-bashcomp from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for go-task | https://taskfile.dev/
- apk - go-task-doc - 3.52.0-r1: normalized package name match | Alpine Linux edge package indexes: go-task-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Task runner written in Go, installed as go-task (documentation) | https://taskfile.dev/
- apk - go-task-fishcomp - 3.52.0-r1: normalized package name match | Alpine Linux edge package indexes: go-task-fishcomp from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fish completions for go-task | https://taskfile.dev/
- apk - go-task-task - 3.52.0-r1: normalized package name match | Alpine Linux edge package indexes: go-task-task from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Task runner, written in Go, installed as task | https://taskfile.dev/
- apk - go-task-zshcomp - 3.52.0-r1: normalized package name match | Alpine Linux edge package indexes: go-task-zshcomp from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh completions for go-task | https://taskfile.dev/
- dnf - go-task - 3.51.1-1.fc45: normalized package name match | Fedora Rawhide package metadata: go-task from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Provides the go-task task-runner binary | https://github.com/go-task/task
- pacman - go-task - 3.52.0-1: normalized package name match | Arch Linux sync databases: go-task from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A task runner written in Go | https://taskfile.dev
- MacPorts - go-task: normalized package name match | MacPorts ports tree: devel/go-task/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - go-task: normalized package name match | Chocolatey community package catalog: go-task from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','gitextensions'
- MacPorts - task: installed executable or alias match | MacPorts ports tree: office/task/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Debian apt - taskwarrior - 2.6.2+dfsg-1+b1: installed executable or alias match | Debian stable package indexes: taskwarrior from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | feature-rich console based todo list manager | https://taskwarrior.org
- Ubuntu apt - taskwarrior - 2.6.2+dfsg-1build2: installed executable or alias match | Ubuntu 24.04 LTS package indexes: taskwarrior from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | feature-rich console based todo list manager | https://taskwarrior.org
- apk - task - 2.6.2-r2: installed executable or alias match | Alpine Linux edge package indexes: task from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | command-line to-do list manager | https://taskwarrior.org
- apk - task-bash-completion - 2.6.2-r2: installed executable or alias match | Alpine Linux edge package indexes: task-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for task | https://taskwarrior.org


## Combined YAML source

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