macOS
brew install luajitlocal Homebrew formula metadata
sudo port install luajitMacPorts ports tree · lang/luajit/Portfile · 来源: api.github.com
安装
brew install luajitlocal Homebrew formula metadata
sudo port install luajitMacPorts ports tree · lang/luajit/Portfile · 来源: api.github.com
sudo apk add luajitAlpine Linux edge package indexes · luajit · 来源: dl-cdn.alpinelinux.org
sudo apt install luajitDebian stable package indexes · luajit · 来源: deb.debian.org
sudo dnf install luajitFedora Rawhide package metadata · luajit · 来源: dl.fedoraproject.org
nix profile install nixpkgs#luajitnixpkgs package indexes · luajit · 来源: raw.githubusercontent.com
sudo pacman -S luajitArch Linux sync databases · luajit · 来源: geo.mirror.pkgbuild.com
sudo zypper install luajitopenSUSE Tumbleweed package metadata · luajit · 来源: download.opensuse.org
scoop install main/luajitScoop official bucket manifest trees · bucket/luajit.json · 来源: api.github.com
winget install --id DEVCOM.LuaJIT -eWindows Package Manager source index · DEVCOM.LuaJIT · 来源: cdn.winget.microsoft.com
概览
Just-In-Time Compiler (JIT) for the Lua programming language
历史
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.
安全态势
generalized runtime or code generation signal.
yellow 风险 · 中 置信度 · runtime
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
luajit | cli | 全局可执行文件 | |
luajit-2.1.1779665312 | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/LuaJIT/LuaJIT
安装元数据
| 软件包键 | brew:luajit |
|---|---|
| 版本 | 2.1.1783585446 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/luajit |
| 主页 | https://luajit.org/luajit.html |
| 仓库 | https://github.com/LuaJIT/LuaJIT |
| 上游文档 | https://luajit.org/extensions.html |
| 许可证 | MIT |
| 源码归档 | https://github.com/LuaJIT/LuaJIT/archive/fed6d4782a3939d0b260402e2df5706ca036a290.tar.gz |
| 最后更新 | 2026-07-09T14:23:06Z |
| Pulse | updated |
| 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 | 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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 luajit来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.