pkg.sopackage field notes

brew / rang 244

Installer lua avec Homebrew

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de lua pour les workflows d'agents IA.

installation

Commandes d'installation supplémentaires

macOS

Homebrewvérifié · 100%
brew install lua

provider-native install command

aperçu

Résumé du paquet

Powerful, lightweight programming language

Commandes et alias

  • lua
  • lua-5.5
  • lua5.5
  • luac
  • luac-5.5
  • luac5.5

historique

Historique du projet et usages

Lua is a lightweight, embeddable scripting language developed at PUC-Rio in Brazil. The Homebrew lua package represents the mainline Lua runtime and compiler, exposing the lua interpreter and luac compiler for interactive use, scripting, embedding, and bytecode compilation.

Historique du projet

Lua was created in 1993 at PUC-Rio as an extension and configuration language. Official Lua history material frames its evolution from a simple in-house configuration language into a widely used embeddable language with tables, lexical scoping, closures, coroutines, and a small portable C implementation.

The official reference manual emphasizes Lua's dual identity: it is both a standalone interpreter and a library designed to be embedded in host programs. This design made Lua attractive for applications that wanted scripting without carrying a large runtime. The distribution is source-first, written in clean C, and builds on common Unix-like platforms with a small Makefile-driven process.

Lua 5.x shaped the package-manager era of Lua. Lua 5.1 became historically important because LuaJIT targets the 5.1 language family; Lua 5.2, 5.3, 5.4, and 5.5 continued the standard interpreter line with API and virtual-machine changes. The official version history records Lua 5.5.0 released on 22 Dec 2025 with global-variable declarations, named vararg tables, more compact arrays, and incremental major garbage collections.

Historique d'adoption

Lua's adoption has been driven by embedding. The official manual describes using C functions to extend Lua into domain-specific languages, and the official readme says Lua is used in many products and projects around the world. Its small C implementation made it popular in games, applications, embedded systems, network software, and tools that need a scripting layer.

Package managers package Lua both as a current interpreter and as versioned formulas because ABI and language-version differences matter. The supplied package-manager facts show broad distribution across Homebrew, apk, Chocolatey, dnf, MacPorts, Nix, pacman, Scoop, winget, and zypper, while separate packages such as lua@5.4 preserve older minor series for applications and libraries that cannot jump runtime versions.

Modes d'utilisation

Users run lua for interactive or batch scripts, run luac to compile Lua chunks, or embed liblua in a host application. Lua programs often use LuaRocks or distribution packages for modules, but the core runtime itself does not use a project-level config file or credentials file.

For packagers, the important usage detail is that different Lua minor versions are not ABI compatible. The official version history states that different versions can have different APIs and virtual machines, so applications embedding Lua and C libraries for Lua must be rebuilt for a new version.

Pourquoi les passionnés de paquets s'y intéressent

Lua is a package-manager staple because it is simultaneously a user-facing scripting language, an embeddable C library, and the dependency underneath many other tools. Package nerds care about which minor series a formula installs, how executable names are versioned, whether luac is included, and how Lua modules find the matching runtime.

Chronologie

  • 1993: Lua was born at PUC-Rio in Brazil.
  • 2000: Lua 4.0 was released, closing the era covered by the first official HOPL history paper.
  • 2015: Lua 5.3 introduced integers, bitwise operators, a basic UTF-8 library, and 32/64-bit support.
  • 2020: Lua 5.4 introduced a new generational garbage collector mode and const/to-be-closed variables.
  • 2025: Lua 5.5.0 was released with global-variable declarations and other language/runtime changes.

Related projects

  • LuaJIT is a major alternative implementation associated with Lua 5.1 compatibility.
  • LuaRocks is the common Lua module package manager used alongside distribution Lua packages.
  • LuaLS and Luacheck are developer tools in the Lua ecosystem that depend on Lua language semantics.
  • PUC-Rio and Lua.org are the official institutional and project homes for the reference implementation.

posture de sécurité

Niveau de risque : yellow

doc example: interpreter runtime.

Classificateur de risque

risque yellow · confiance élevé · runtime

Pourquoi

  • doc example: interpreter runtime

Signaux

  • override:lua

Comportement d'installation

  • Aucune métadonnée de bottle Homebrew n’a été enregistrée.

Revue recommandée

Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.

exécutables

Exécutables installés

CommandeTypeExpositionNote
luaexécutableexécutable indexéDécouvert depuis l'index local des exécutables.
lua-5.5exécutableexécutable indexéDécouvert depuis l'index local des exécutables.
lua5.5exécutableexécutable indexéDécouvert depuis l'index local des exécutables.
luacexécutableexécutable indexéDécouvert depuis l'index local des exécutables.
luac-5.5exécutableexécutable indexéDécouvert depuis l'index local des exécutables.
luac5.5exécutableexécutable indexéDécouvert depuis l'index local des exécutables.

fraîcheur

Version et fraîcheur

Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.

page générée2026-08-03
version du gestionnaire5.5.0
gestionnaire mis à jour2026-06-19
données localesinconnu
amontnon disponible
dernière version détectéenon détecté
  • OKAucun avertissement de fraîcheur n'a été généré.

métadonnées d'installation

Métadonnées du paquet

Clé du paquetbrew:lua
Version5.5.0
Gestionnaire de paquetsHomebrew
Page d'accueilhttps://www.lua.org/
Dernière mise à jour2026-06-19T12:31:49-07:00
Pulseupdated
Bouteillenon enregistré
Serviceaucun déclaré

piste source

Généré depuis les données du dépôt

Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.

Sources utilisées

  • Geiger risk classifier
  • Nucleus package database
  • curated package history
  • pkgdb category and tag curation