macOS
brew install luaulocal Homebrew formula metadata
安装
brew install luaulocal Homebrew formula metadata
sudo apk add luauAlpine Linux edge package indexes · luau · 来源: dl-cdn.alpinelinux.org
nix profile install nixpkgs#luaunixpkgs package indexes · pkgs/by-name/lu/luau/package.nix · 来源: api.github.com
sudo pacman -S luauArch Linux sync databases · luau · 来源: geo.mirror.pkgbuild.com
scoop install main/luauScoop official bucket manifest trees · bucket/luau.json · 来源: api.github.com
概览
Fast, safe, gradually typed embeddable scripting language derived from Lua
历史
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.
安全态势
generalized runtime or code generation signal.
yellow 风险 · 中 置信度 · runtime
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
luau | cli | 全局可执行文件 | |
luau-analyze | cli | 全局可执行文件 | |
luau-ast | cli | 全局可执行文件 | |
luau-compile | cli | 全局可执行文件 | |
luau-reduce | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/luau-lang/luau
安装元数据
| 软件包键 | 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 |
| Pulse | updated |
| 构建依赖 | cmake |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | luau |
| 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 软件包链接分开显示。
luau
nix profile install nixpkgs#luauluau 0.689-r0
A fast, small, safe, gradually typed embeddable scripting language derived from Lua
https://github.com/roblox/luau
sudo apk add luauluau 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 luaumain/luau
scoop install main/luau来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.