macOS
brew install premakelocal Homebrew formula metadata
sudo port install premakeMacPorts ports tree · devel/premake/Portfile · 来源: api.github.com
安装
brew install premakelocal Homebrew formula metadata
sudo port install premakeMacPorts ports tree · devel/premake/Portfile · 来源: api.github.com
sudo dnf install premakeFedora Rawhide package metadata · premake · 来源: dl.fedoraproject.org
nix profile install nixpkgs#premakenixpkgs package indexes · premake · 来源: raw.githubusercontent.com
sudo pacman -S premakeArch Linux sync databases · premake · 来源: geo.mirror.pkgbuild.com
scoop install main/premakeScoop official bucket manifest trees · bucket/premake.json · 来源: api.github.com
概览
Write once, build anywhere Lua-based build system
历史
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.
安全态势
generalized runtime or code generation signal.
yellow 风险 · 中 置信度 · runtime
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
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.lua可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
premake5 | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/premake/premake-core
安装元数据
| 软件包键 | brew:premake |
|---|---|
| 版本 | 5.0.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/premake |
| 主页 | https://premake.github.io/ |
| 仓库 | https://github.com/premake/premake-core |
| 上游文档 | https://premake.github.io/ |
| 许可证 | BSD-3-Clause |
| 源码归档 | https://github.com/premake/premake-core/archive/refs/tags/v5.0.0.tar.gz |
| 最后更新 | 2026-10-20T04:33:33Z |
| Pulse | updated |
| Bottle | 可用 (于 arm64_golden_gate, arm64_linux, arm64_sequoia, arm64_tahoe, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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/premake5来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.