Automic VaultAutomic Vault

brew

Install luau with Homebrew, apk, Nix, pacman, scoop

Fast, safe, gradually typed embeddable scripting language derived from Lua. Version 0.728 via Homebrew; verified 2026-07-03.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install luau

local Homebrew formula metadata

Windows

Scoopverified · 92%
scoop install main/luau

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

overview

Package summary

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

Commands and aliases

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

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 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.

security posture

Risk level: yellow

generalized runtime or code generation signal.

Risk classifier

yellow risk · medium confidence · runtime

Why

  • generalized runtime or code generation signal

Signals

  • text:scripting language

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
luaucliglobal executable
luau-analyzecliglobal executable
luau-astcliglobal executable
luau-compilecliglobal executable
luau-reducecliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version0.728
manager updated2026-07-03
local dataok
upstreamcurrent
latest detected0.728

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

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:luau
Version0.728
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/luau
Homepagehttps://luau.org
Repositoryhttps://github.com/luau-lang/luau
Upstream docshttps://luau.org/
LicenseMIT
Source archivehttps://github.com/luau-lang/luau/archive/refs/tags/0.728.tar.gz
Last updated2026-07-03T13:54:19Z
Pulseupdated
Build dependenciescmake
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

luau

nix profile install nixpkgs#luau
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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
  • Matched by: 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

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • 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