Automic VaultAutomic Vault

brew

Install xmake with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, scoop, winget

Cross-platform build utility based on Lua. Version 3.0.9 via Homebrew; verified 2026-05-19.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install xmake

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install xmake

MacPorts ports tree · devel/xmake/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add xmake

Alpine Linux edge package indexes · xmake · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install xmake

Debian stable package indexes · xmake · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install xmake

Fedora Rawhide package metadata · xmake · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#xmake

nixpkgs package indexes · pkgs/by-name/xm/xmake/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S xmake

Arch Linux sync databases · xmake · source: geo.mirror.pkgbuild.com

Windows

Scoopverified · 92%
scoop install main/xmake

Scoop official bucket manifest trees · bucket/xmake.json · source: api.github.com

Windows Package Managerverified · 92%
winget install --id Xmake-io.Xmake -e

Windows Package Manager source index · Xmake-io.Xmake · source: cdn.winget.microsoft.com

overview

Package summary

Cross-platform build utility based on Lua

Commands and aliases

  • xmake
  • xrepo

history

Project history and usage

Xmake is a Lua-based cross-platform build utility for C, C++, and other compiled-language projects. Its distinctive package-nerd angle is that it combines build backend, project generator, package manager, remote/distributed build support, and cache features behind one `xmake.lua` project file.

Project history

The GitHub repository was created on 2015-04-23. Xmake's own introduction describes it as a lightweight, cross-platform build utility based on Lua, driven by a dependency-free C core, with concise project configuration compared with Makefiles or CMake.

The project grew from a build tool into a combined build-and-dependency environment. The README frames Xmake as build backend plus project generator plus package manager, with analogies to Make/Ninja, CMake/Meson, Vcpkg/Conan, distcc, and ccache/sccache. That positioning explains why the `xmake` executable is paired with `xrepo` for package work.

The official xmake-repo package repository was created on 2017-04-09. The package guide says official package use was initially supported after version 2.2.2, with `add_requires()` naming third-party packages and `add_packages()` applying them to targets.

By the 3.0 series, Xmake had accumulated a broad platform and toolchain matrix. The README lists desktop, BSD, mobile, embedded, WebAssembly, and cross-compilation platforms, plus toolchains ranging from GCC, Clang, MSVC, Xcode, Android NDK, Zig, Rust, Swift, CUDA, Fortran, Verilator, WebAssembly, and vendor embedded compilers.

Adoption history

Xmake adoption has been community-led rather than standards-body driven. The official "Who is using Xmake?" page lists game modding, embedded, graphics, aerospace, data-structure, full-body tracking, real-time communication, and commercial/internal users, plus notable entries such as Epic Games Zen and Microsoft Research's CHERIoT RTOS.

For package users, adoption was helped by Xmake's dual role: installing the tool is enough to try simple builds, while the official package repository lets projects express third-party C/C++ package needs inside the same Lua build description.

How it is used

A minimal project defines targets in `xmake.lua`, for example setting a target kind and adding source globs. Common commands are `xmake` to build, `xmake run` to execute a target, `xmake test` for tests, and `xmake f` or `xmake config` to set platform, architecture, and build mode.

Dependency use centers on `add_requires()` and `add_packages()`: Xmake can check system libraries, fetch matching source packages, build and install them into its own package area, then link them into the project. The package guide also documents semantic version constraints, optional packages, debug package builds, custom package configs, and private/project package repositories.

Xmake is especially practical for cross-platform C/C++ projects that want build logic, third-party package integration, IDE/project generation, and cross-compilation switches in one tool without writing separate CMake and shell glue layers.

Why package nerds care

Xmake is significant because it collapses several packaging-adjacent jobs into one executable: project description, build orchestration, dependency acquisition, toolchain selection, package repository rules, and generated project files. That makes it a useful comparison point against CMake plus vcpkg/conan or Meson plus external dependency managers.

Its package repository is also a distribution model in miniature: recipes are versioned in a central GitHub repo, selected semantically by project files, and built per platform/architecture into an isolated install area. For package nerds, that is the interesting part, not just the Lua syntax.

Timeline

  • 2015-04-23: xmake GitHub repository created.
  • 2017-04-09: xmake-repo, the official package repository, created.
  • 2018-10-16: xmake v2.2.2 released; official package-management documentation says package use was initially supported after this version.
  • 2025-06-15: xmake v3.0.0 released, switching to 3.0 policies and changing build/run defaults.
  • 2026-05-19: xmake v3.0.9 released with new toolchain, package, and graph/export features.

Related projects

  • Related tools include Make, Ninja, CMake, Meson, Vcpkg, Conan, distcc, ccache, sccache, and the official xmake-repo package repository. Xmake also overlaps with IDE/project generators because it can generate project files for other build environments.

Sources

security posture

No protected-tool coverage found yet

No matching local secret-handling manifest was found for xmake. Nucleus package metadata is still published here so future coverage has a stable package URL.

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

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

Config paths the tool may read or write during local use.

Unix
xmake.lua
Windows
xmake.lua

executables

Installed executables

CommandKindExposureNote
xmakecliglobal executable
xrepocliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version3.0.9
manager updated2026-05-19
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/xmake-io/xmake

install metadata

Package metadata

Package keybrew:xmake
Version3.0.9
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/xmake
Homepagehttps://xmake.io/
Repositoryhttps://github.com/xmake-io/xmake
Upstream docshttps://xmake.io/
LicenseApache-2.0
Source archivehttps://github.com/xmake-io/xmake/releases/download/v3.0.9/xmake-v3.0.9.tar.gz
Last updated2026-05-19T04:49:58Z
Pulseupdated
Uses from macOSncurses
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namexmake
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

xmake 2.9.9+ds-1

cross-platform build utility based on Lua

https://xmake.io

sudo apt install xmake
  • Section: devel
  • Architecture: amd64
  • 9 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Xmake
Debian stable package indexes · deb.debian.org · Debian stable package indexes: xmake from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

xmake-data 2.9.9+ds-1

Data for xmake

https://xmake.io

sudo apt install xmake-data
  • Section: devel
  • Architecture: all
  • Source Package: xmake
  • 2 optional deps
  • normalized package name match
  • Matched by: Xmake
Debian stable package indexes · deb.debian.org · Debian stable package indexes: xmake-data from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

xmake

nix profile install nixpkgs#xmake
  • normalized package name match
  • Matched by: Xmake
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/xm/xmake/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

xmake 2.8.7+ds-1build2

cross-platform build utility based on Lua

http://xmake.io

sudo apt install xmake
  • Section: universe/devel
  • Architecture: amd64
  • 8 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Xmake
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: xmake from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

xmake-data 2.8.7+ds-1build2

Data for xmake

http://xmake.io

sudo apt install xmake-data
  • Section: universe/devel
  • Architecture: all
  • Source Package: xmake
  • normalized package name match
  • Matched by: Xmake
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: xmake-data from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

xmake 3.0.9-r0

A cross-platform build utility based on Lua

https://xmake.io/

sudo apk add xmake
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: xmake
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Xmake
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: xmake from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

xmake-bash-completion 3.0.9-r0

Bash completions for xmake

https://xmake.io/

sudo apk add xmake-bash-completion
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: xmake
  • normalized package name match
  • Matched by: Xmake
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: xmake-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

xmake-doc 3.0.9-r0

A cross-platform build utility based on Lua (documentation)

https://xmake.io/

sudo apk add xmake-doc
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: xmake
  • normalized package name match
  • Matched by: Xmake
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: xmake-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

xmake-fish-completion 3.0.9-r0

Fish completions for xmake

https://xmake.io/

sudo apk add xmake-fish-completion
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: xmake
  • normalized package name match
  • Matched by: Xmake
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: xmake-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

xmake-zsh-completion 3.0.9-r0

Zsh completions for xmake

https://xmake.io/

sudo apk add xmake-zsh-completion
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: xmake
  • normalized package name match
  • Matched by: Xmake
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: xmake-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

xmake 3.0.9-2.fc45

A cross-platform build utility based on Lua

https://xmake.io

sudo dnf install xmake
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: xmake
  • 13 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Xmake
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: xmake from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

xmake-data 3.0.9-2.fc45

Common data-files for xmake

https://xmake.io

sudo dnf install xmake-data
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: xmake
  • 4 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Xmake
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: xmake-data from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

xmake 3.0.9-1

A cross-platform build utility based on Lua

https://github.com/xmake-io/xmake

sudo pacman -S xmake
  • License: Apache
  • Architecture: x86_64
  • normalized package name match
  • Matched by: Xmake
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: xmake from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

xmake

sudo port install xmake
  • normalized package name match
  • Matched by: Xmake
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/xmake/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/xmake

scoop install main/xmake
  • normalized package name match
  • Matched by: Xmake
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/xmake.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

Xmake-io.Xmake

winget install --id Xmake-io.Xmake -e
  • normalized package name match
  • Matched by: Xmake
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: Xmake-io.Xmake from https://cdn.winget.microsoft.com/cache/source.msix

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment