macOS
brew install magelocal Homebrew formula metadata
sudo port install mageMacPorts ports tree · devel/mage/Portfile · source: api.github.com
brew
Make/rake-like build tool using Go. Version 1.17.2 via Homebrew; verified 2026-04-23.
install
brew install magelocal Homebrew formula metadata
sudo port install mageMacPorts ports tree · devel/mage/Portfile · source: api.github.com
sudo apk add mageAlpine Linux edge package indexes · mage · source: dl-cdn.alpinelinux.org
sudo apt install golang-github-magefile-mage-devDebian stable package indexes · golang-github-magefile-mage-dev · source: deb.debian.org
nix profile install nixpkgs#magenixpkgs package indexes · pkgs/by-name/ma/mage/package.nix · source: api.github.com
sudo pacman -S mageArch Linux sync databases · mage · source: geo.mirror.pkgbuild.com
sudo zypper install mageopenSUSE Tumbleweed package metadata · mage · source: download.opensuse.org
scoop install main/mageScoop official bucket manifest trees · bucket/mage.json · source: api.github.com
winget install --id Magefile.mage -eWindows Package Manager source index · Magefile.mage · source: cdn.winget.microsoft.com
overview
Make/rake-like build tool using Go
history
Mage is a Go-native make/rake-style task runner. Its package identity is simple: a small `mage` CLI finds Go functions in mage files and exposes them as build targets, giving Go projects a build script that is compiled and type-checked as ordinary Go.
The public GitHub repository was created in September 2017, and the project reached its v1 release in October 2017. The official site describes the core idea as Makefile-like runnable targets written as plain Go functions, with no runtime dependency beyond Go itself.
Mage evolved around Go workflow conventions. Release notes and documentation added support for Go modules, versioned `go install` use, optional and variadic arguments, multiline help text, tab completion, and the `magefiles/` directory convention for keeping build files separate from normal application code.
Mage became a common package-manager install for developers who wanted a cross-platform replacement for Make in Go-heavy repositories. The official installation page documents Homebrew, MacPorts, Scoop, GitHub releases, `go install`, and asdf, while the Homebrew input data also lists Linux distribution, Nix, pacman, winget, and zypper package names.
The repository has several thousand GitHub stars and hundreds of forks, which is a useful adoption signal for a developer tool whose main audience is maintainers wiring project automation into local builds and CI.
A typical project adds a mage file with the `mage` build tag and exported functions. Running `mage -l` lists targets, `mage <target>` executes one, and comments on functions become command help.
Mage is also used in CI and in vendored or zero-install workflows. The zero-install documentation shows how a project can run Mage through `go run` so contributors do not need a preinstalled `mage` binary.
Mage is package-nerd interesting because it trades Make's whitespace-sensitive shell DSL for Go code while still looking like a tiny command-line build tool to package managers. It sits in the same cultural slot as Make, Rake, Just, and Task, but its dependency story is unusually boring for Go users: install one CLI, write Go.
Its packaging footprint is broad for a niche build tool, and the docs explicitly cover binary releases and multiple package managers, which makes it easy to pin in CI images or bootstrap on contributor machines.
security posture
generalized runtime or code generation signal.
yellow risk · medium confidence · runtime
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
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.
Config paths the tool may read or write during local use.
magefile.goMagefile.gomagefile.goMagefile.goexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
mage | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/magefile/mage
install metadata
| Package key | brew:mage |
|---|---|
| Version | 1.17.2 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/mage |
| Homepage | https://magefile.org |
| Repository | https://github.com/magefile/mage |
| Upstream docs | https://magefile.org/ |
| License | Apache-2.0 |
| Source archive | https://github.com/magefile/mage.git |
| Last updated | 2026-04-23T03:53:13Z |
| Pulse | updated |
| Dependencies | go |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | mage |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
golang-github-magefile-mage-dev 1.15.0+ds-2
Make/rake-like dev tool using Go (library)
https://github.com/magefile/mage
sudo apt install golang-github-magefile-mage-devmage 1.15.0+ds-2+b3
Make/rake-like dev tool using Go (program)
https://github.com/magefile/mage
sudo apt install magemage
nix profile install nixpkgs#magemage 1.13.0-r23
make-like build tool using Go
sudo apk add magemage 1.15.0-2
A Make/rake-like build tool using Go
sudo pacman -S magemage 1.15.0-2.5
A make-like build tool using Go
https://github.com/magefile/mage
sudo zypper install magemage
sudo port install magemain/mage
scoop install main/mageMagefile.mage
winget install --id Magefile.mage -esource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.