macOS
brew install premakelocal Homebrew formula metadata
sudo port install premakeMacPorts ports tree · devel/premake/Portfile · source: api.github.com
brew / rank 2906
Write once, build anywhere Lua-based build system. Version 5.0.0 via Homebrew; verified 2026-10-20. Also installable with nix: nix profile install nixpkgs#premake.
install
brew install premakelocal Homebrew formula metadata
sudo port install premakeMacPorts ports tree · devel/premake/Portfile · source: api.github.com
sudo dnf install premakeFedora Rawhide package metadata · premake · source: dl.fedoraproject.org
nix profile install nixpkgs#premakenixpkgs package indexes · premake · source: raw.githubusercontent.com
sudo pacman -S premakeArch Linux sync databases · premake · source: geo.mirror.pkgbuild.com
scoop install main/premakeScoop official bucket manifest trees · bucket/premake.json · source: api.github.com
overview
Write once, build anywhere Lua-based build system
history
Premake is a cross-platform build-configuration and project-generation tool. A project is described once in Lua, then Premake emits native files for environments such as Visual Studio, Xcode, GNU Make, Ninja, and CodeLite.
Premake evolved through the Premake 4 and Premake 5 generations as a Lua-scripted, cross-platform project generator. Premake 5 renamed the executable to premake5 and made premake5.lua the default project script while retaining premake4.lua as a fallback.
The 5.0 line spent an unusually long period in alpha and beta while its configuration API, exporters, modules, platform support, and documentation were modernized. Official community updates record the move into beta in 2021 and a renewed roadmap toward a stable 5.0 release in 2024.
Premake has remained available across Windows, macOS, Linux, and other POSIX environments, with supplied package facts showing distribution through Homebrew, dnf, MacPorts, Nix, pacman, and Scoop. Its long 5.0 development cycle continued to receive community contributions for new compilers, architectures, exporters, and IDE releases.
Users place a premake5.lua script in the project tree, define workspaces, projects, configurations, files, and toolchain settings in Lua, then run an action such as `premake5 vs2022`, `premake5 xcode4`, `premake5 gmake`, or `premake5 ninja` to generate native build files.
Premake occupies a distinctive niche between handwritten native project files and conventional build-language generators: the build description is ordinary Lua, while the distributable tool is a small, self-contained executable. This appeals to cross-platform C, C++, and C# projects that want one readable definition but still want native Visual Studio, Xcode, Make, Ninja, or CodeLite output.
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.
premake5.luaexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
premake5 | 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/premake/premake-core
install metadata
| Package key | brew:premake |
|---|---|
| Version | 5.0.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/premake |
| Homepage | https://premake.github.io/ |
| Repository | https://github.com/premake/premake-core |
| Upstream docs | https://premake.github.io/ |
| License | BSD-3-Clause |
| Source archive | https://github.com/premake/premake-core/archive/refs/tags/v5.0.0.tar.gz |
| Last updated | 2026-10-20T04:33:33Z |
| Pulse | updated |
| Bottle | available (on arm64_golden_gate, arm64_linux, arm64_sequoia, arm64_tahoe, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | premake |
| Version Scheme | 1 |
| 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.
premake
nix profile install nixpkgs#premakepremake 5.0.0-11.20251127gite38ef3f.fc45
Cross-platform build configuration tool
sudo dnf install premakepremake 5.0beta8-1
A simple build configuration and project generation tool
sudo pacman -S premakepremake
sudo port install premakemain/premake
scoop install main/premakepremake5
sudo port install premake5premake5
nix profile install nixpkgs#premake5versions/premake5
scoop install versions/premake5source 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.