macOS
brew install luajitlocal Homebrew formula metadata
sudo port install luajitMacPorts ports tree · lang/luajit/Portfile · source: api.github.com
brew
Just-In-Time Compiler (JIT) for the Lua programming language. Version 2.1.1783415239 via Homebrew; verified 2026-07-07.
install
brew install luajitlocal Homebrew formula metadata
sudo port install luajitMacPorts ports tree · lang/luajit/Portfile · source: api.github.com
sudo apk add luajitAlpine Linux edge package indexes · luajit · source: dl-cdn.alpinelinux.org
sudo apt install libluajit-5.1-2Debian stable package indexes · libluajit-5.1-2 · source: deb.debian.org
sudo dnf install luajitFedora Rawhide package metadata · luajit · source: dl.fedoraproject.org
nix profile install nixpkgs#luajitnixpkgs package indexes · luajit · source: raw.githubusercontent.com
sudo pacman -S luajitArch Linux sync databases · luajit · source: geo.mirror.pkgbuild.com
sudo zypper install libluajit-5_1-2openSUSE Tumbleweed package metadata · libluajit-5_1-2 · source: download.opensuse.org
scoop install main/luajitScoop official bucket manifest trees · bucket/luajit.json · source: api.github.com
winget install --id DEVCOM.LuaJIT -eWindows Package Manager source index · DEVCOM.LuaJIT · source: cdn.winget.microsoft.com
overview
Just-In-Time Compiler (JIT) for the Lua programming language
history
LuaJIT is a just-in-time compiler and high-performance Lua 5.1-compatible runtime. It became one of the defining alternative Lua runtimes because it combines a fast interpreter, trace JIT compiler, FFI, and broad embedding support.
LuaJIT is authored by Mike Pall and has been in continuous development since 2005. The official overview describes it as a JIT compiler for Lua that can be embedded or used as a standalone language runtime.
LuaJIT 2.0 was a major rewrite of the VM, combining an assembler-written interpreter with a trace compiler and SSA-based optimizations. The official extensions documentation also makes clear why LuaJIT became more than a faster lua executable: it adds the FFI library, built-in bit operations, JIT control modules, profiler support, and Lua/C API extensions while remaining API and ABI compatible with Lua 5.1.
The official LuaJIT overview says it has been used in games, appliances, network and graphics applications, numerical simulations, trading platforms, and other specialty applications, and is part of large web, SaaS, networking, set-top-box, and embedded deployments.
Package-manager adoption is broad: the input metadata lists LuaJIT packages for Homebrew, MacPorts, Debian, Ubuntu, Fedora, Alpine, Arch, openSUSE, Nix, Scoop, and Winget. That distribution footprint reflects LuaJIT's role as both a developer tool and a dependency of packages that want Lua speed or LuaJIT FFI.
The normal command-line entry point is luajit on POSIX systems and luajit.exe on Windows. It runs Lua chunks, scripts, and interactive sessions, and it supports Lua-like CLI options plus LuaJIT-specific bytecode, JIT-control, and optimization switches.
In package ecosystems, LuaJIT is commonly selected when a project targets Lua 5.1 semantics but wants faster execution, C interop through FFI, or compatibility with ecosystems such as OpenResty and LuaJIT-oriented LuaRocks modules.
LuaJIT is package-nerd-famous because it sits at the intersection of language runtime, C ABI, and distribution policy. The project now uses rolling releases from git rather than release tarballs, so downstream packages often package snapshots and must track branch policy carefully.
It also explains a lot of Lua packaging behavior: LuaRocks modules may distinguish Lua versions, LuaJIT, FFI availability, and ABI compatibility. Having LuaJIT as a separate package lets distributions provide both stock Lua and the high-performance Lua 5.1-compatible runtime.
security posture
generalized runtime or code generation signal.
yellow risk · medium confidence · runtime
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
luajit | cli | global executable | |
luajit-2.1.1779665312 | cli | global executable |
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.
https://github.com/LuaJIT/LuaJIT
install metadata
| Package key | brew:luajit |
|---|---|
| Version | 2.1.1783415239 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/luajit |
| Homepage | https://luajit.org/luajit.html |
| Repository | https://github.com/LuaJIT/LuaJIT |
| Upstream docs | https://luajit.org/extensions.html |
| License | MIT |
| Source archive | https://github.com/LuaJIT/LuaJIT/archive/acb223497d84c65139a7eaaac395b42f112249ac.tar.gz |
| Last updated | 2026-07-07T10:41:40Z |
| Pulse | updated |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | luajit |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
libluajit-5.1-2 2.1.0+openresty20250117-2
OpenResty-maintained branch of LuaJIT (shared objects)
https://github.com/openresty/luajit2
sudo apt install libluajit-5.1-2libluajit-5.1-common 2.1.0+openresty20250117-2
OpenResty-maintained branch of LuaJIT (common files)
https://github.com/openresty/luajit2
sudo apt install libluajit-5.1-commonlibluajit-5.1-dev 2.1.0+openresty20250117-2
OpenResty-maintained branch of LuaJIT (development files)
https://github.com/openresty/luajit2
sudo apt install libluajit-5.1-devluajit 2.1.0+openresty20250117-2
OpenResty-maintained branch of LuaJIT (interpreter)
https://github.com/openresty/luajit2
sudo apt install luajitluajit
nix profile install nixpkgs#luajitlibluajit-5.1-2 2.1.0+git20231223.c525bcb+dfsg-1
Just in time compiler for Lua - library version
sudo apt install libluajit-5.1-2libluajit-5.1-common 2.1.0+git20231223.c525bcb+dfsg-1
Just in time compiler for Lua - common files
sudo apt install libluajit-5.1-commonlibluajit-5.1-dev 2.1.0+git20231223.c525bcb+dfsg-1
Just in time compiler for Lua - development files
sudo apt install libluajit-5.1-devluajit 2.1.0+git20231223.c525bcb+dfsg-1
Just in time compiler for Lua programming language version 5.1
sudo apt install luajitluajit 2.1_p20251030-r0
OpenResty's branch of LuaJIT
https://github.com/openresty/luajit2
sudo apk add luajitluajit-dbg 2.1_p20251030-r0
OpenResty's branch of LuaJIT (debug symbols)
https://github.com/openresty/luajit2
sudo apk add luajit-dbgluajit-dev 2.1_p20251030-r0
OpenResty's branch of LuaJIT (development files)
https://github.com/openresty/luajit2
sudo apk add luajit-devluajit-doc 2.1_p20251030-r0
OpenResty's branch of LuaJIT (documentation)
https://github.com/openresty/luajit2
sudo apk add luajit-docluajit 2.1.1767980792-1.fc44
Just-In-Time Compiler for Lua
sudo dnf install luajitluajit-devel 2.1.1767980792-1.fc44
Development files for luajit
sudo dnf install luajit-develluajit 2.1.1780076327+b925b3e-1
Just-in-time compiler and drop-in replacement for Lua 5.1
sudo pacman -S luajitsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.