pkg.soopen package index

brew / 排名 2906

使用 Homebrew, dnf, MacPorts, Nix, pacman, scoop 安装 premake

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install premake

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install premake

MacPorts ports tree · devel/premake/Portfile · 来源: api.github.com

Windows

Scoop已验证 · 92%
scoop install main/premake

Scoop official bucket manifest trees · bucket/premake.json · 来源: api.github.com

概览

软件包摘要

Write once, build anywhere Lua-based build system

命令和别名

  • premake5

历史

项目历史与用法

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.

时间线

  • Premake 4 era: premake4.lua and the premake4 executable established the earlier scripting interface.
  • 2021: Premake 5.0 moved from its long alpha cycle into beta.
  • 2024: The project published a renewed roadmap for completing the stable 5.0 line.
  • 2026: Premake 5 continued adding current IDE, architecture, and exporter support.

Related projects

  • CMake and Meson address the same broad cross-platform build-configuration problem but use their own declarative languages and build-generation models rather than Premake's embedded Lua scripting approach.

安全态势

风险级别:yellow

generalized runtime or code generation signal.

风险分类器

yellow 风险 · 中 置信度 · runtime

原因

  • generalized runtime or code generation signal

信号

  • text:build system

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 5 个平台目标。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

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
premake5.lua

可执行文件

已安装的可执行文件

命令类型暴露范围备注
premake5cli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-11-04
管理器版本5.0.0
管理器更新时间2026-10-20
本地数据OK
上游当前
检测到的最新版本v5.0.0

https://github.com/premake/premake-core

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键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
Pulseupdated
Bottle可用 (于 arm64_golden_gate, arm64_linux, arm64_sequoia, arm64_tahoe, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

premake

nix profile install nixpkgs#premake
  • normalized package name match
  • 匹配方式:Premake
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: premake from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
dnf95%

premake 5.0.0-11.20251127gite38ef3f.fc45

Cross-platform build configuration tool

https://premake.github.io/

sudo dnf install premake
  • License: BSD-3-Clause
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: premake
  • 4 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Premake
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: premake from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/652278618dec9c023176a80c435a32a2c8154869fb0eb662c267a54df28d77d9-primary.xml.zst
pacman95%

premake 5.0beta8-1

A simple build configuration and project generation tool

https://premake.github.io/

sudo pacman -S premake
  • License: BSD-3-Clause
  • Architecture: x86_64
  • 2 依赖
  • normalized package name match
  • 匹配方式:Premake
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: premake from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

premake

sudo port install premake
  • normalized package name match
  • 匹配方式:Premake
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/premake/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/premake

scoop install main/premake
  • normalized package name match
  • 匹配方式:Premake
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/premake.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
MacPorts94%

premake5

sudo port install premake5
  • installed executable or alias match
  • 匹配方式:Premake5
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/premake5/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Nix92%

premake5

nix profile install nixpkgs#premake5
  • installed executable or alias match
  • 匹配方式:Premake5
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: premake5 from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
Scoop92%

versions/premake5

scoop install versions/premake5
  • installed executable or alias match
  • 匹配方式:Premake5
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/premake5.json from https://api.github.com/repos/ScoopInstaller/Versions/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • 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
  • pkg.so package database
  • pkgdb category and tag curation