Automic VaultAutomic Vault

brew

使用 Homebrew, apk, Nix, pacman, scoop 安装 luau

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install luau

local Homebrew formula metadata

Windows

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

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

概览

软件包摘要

Fast, safe, gradually typed embeddable scripting language derived from Lua

命令和别名

  • luau
  • luau-analyze
  • luau-ast
  • luau-compile
  • luau-reduce

历史

项目历史与用法

Luau is Roblox's Lua-derived scripting language: a small, fast, embeddable language with gradual typing, a bytecode compiler, interpreter, optional JIT, type checker, and linter.

项目历史

Luau grew out of Roblox's long use of Lua for user-generated gameplay and internal application code. The Luau team says Roblox chose Lua for simplicity, embedding, execution control, and coroutine support, then evolved it to improve performance, ergonomics, safety, and tooling while preserving Lua's design goals.

On November 3, 2021, Roblox announced that Luau was becoming a separate open-source language rather than an inseparable part of Roblox. The announcement made the runtime, compiler, type checker, and linter available under the MIT license and opened the language RFC process to the public.

采用历史

Luau's largest adoption base remains Roblox itself: the origins post describes it as powering millions of Roblox experiences and large amounts of Roblox app and Studio functionality. Open-sourcing made it usable outside Roblox, and the project says it has seen increased adoption in other projects and applications.

Package-manager adoption followed the open-source release. The input metadata lists Luau packages in Homebrew, Alpine, Nix, Arch, and Scoop, which makes the command-line compiler and analyzer available to non-Roblox workflows.

使用方式

Luau ships command-line tools for running scripts and analyzing code. The getting-started documentation shows luau for execution and luau-analyze for static analysis, type checking, and linting.

For embedders, the language is designed around a small standard library and host-provided APIs. That makes Luau useful both as a Roblox scripting language and as a sandboxable embedded scripting runtime.

为什么软件包爱好者会关心

Luau matters to package history because it is a modern, typed Lua-family runtime with a large production origin and standalone package-manager distribution. It is not just a Lua library: it ships a compiler, analyzer, AST tools, and runtime pieces as CLI binaries.

For Lua ecosystem watchers, Luau is one answer to the long-running question of how Lua-like languages can add typing, tooling, and safety without giving up embeddability.

时间线

  • 2006: Roblox begins using Lua-style scripting for user-generated behaviors.
  • 2021: Roblox announces Luau as a separate open-source language on November 3.
  • 2022: The Luau team publishes its origins and evolution history.
  • 2023: Open-source release binaries add native code generation support compiled in by default.

Related projects

  • Lua 5.1 is the language base Luau started from.
  • Roblox Studio is the main application environment for Luau developers.
  • LuaJIT is a related high-performance Lua-family runtime, but Luau focuses on gradual typing and Roblox-compatible embedding.

安全态势

风险级别:yellow

generalized runtime or code generation signal.

风险分类器

yellow 风险 · 中 置信度 · runtime

原因

  • generalized runtime or code generation signal

信号

  • text:scripting language

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
luaucli全局可执行文件
luau-analyzecli全局可执行文件
luau-astcli全局可执行文件
luau-compilecli全局可执行文件
luau-reducecli全局可执行文件

新鲜度

版本和新鲜度

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

页面生成时间2026-07-25
管理器版本0.731
管理器更新时间2026-07-25
本地数据OK
上游当前
检测到的最新版本0.731

https://github.com/luau-lang/luau

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

安装元数据

软件包元数据

软件包键brew:luau
版本0.731
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/luau
主页https://luau.org
仓库https://github.com/luau-lang/luau
上游文档https://luau.org/
许可证MIT
源码归档https://github.com/luau-lang/luau/archive/refs/tags/0.731.tar.gz
最后更新2026-07-25T00:14:09Z
Pulseupdated
构建依赖cmake
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameluau
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%

luau

nix profile install nixpkgs#luau
  • normalized package name match
  • 匹配方式:Luau
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/lu/luau/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

luau 0.689-r0

A fast, small, safe, gradually typed embeddable scripting language derived from Lua

https://github.com/roblox/luau

sudo apk add luau
  • License: MIT
  • Architecture: x86_64
  • Source Package: luau
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Luau
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: luau from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
pacman95%

luau 1:0.723-1

A fast, small, safe, gradually typed embeddable scripting language derived from Lua

https://github.com/luau-lang/luau

sudo pacman -S luau
  • License: MIT
  • Architecture: x86_64
  • 3 依赖
  • normalized package name match
  • 匹配方式:Luau
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: luau from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
Scoop95%

main/luau

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

来源线索

由仓库数据生成

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

使用的来源

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