Automic VaultAutomic Vault

brew

luarocks を Homebrew, apk, chocolatey, apt, dnf, Nix, pacman, scoop でインストール

luarocks のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

エージェント安全性

エージェント安全性の回答

luarocks manages Lua packages and can install or publish project dependencies.

認証情報アクセス

Reads environment variables, server credentials, and local package config.

リモート変更

Can install packages and interact with package servers.

公開/成果物リスク

Can publish Lua rocks and generated package artifacts.

推奨コントロール

Gate upload, install scripts, and credentialed server operations.

エージェント利用ガイダンス

Allow dependency queries; require approval for package publication and secret-backed actions.

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install luarocks

local Homebrew formula metadata

Linux

Alpine Linux apk確認済み · 92%
sudo apk add luarocks

Alpine Linux edge package indexes · luarocks · ソース: dl-cdn.alpinelinux.org

Debian apt確認済み · 92%
sudo apt install luarocks

Debian stable package indexes · luarocks · ソース: deb.debian.org

Fedora dnf確認済み · 92%
sudo dnf install luarocks

Fedora Rawhide package metadata · luarocks · ソース: dl.fedoraproject.org

Nix確認済み · 92%
nix profile install nixpkgs#luarocks

nixpkgs package indexes · luarocks · ソース: raw.githubusercontent.com

Arch Linux pacman確認済み · 92%
sudo pacman -S luarocks

Arch Linux sync databases · luarocks · ソース: geo.mirror.pkgbuild.com

Windows

Chocolatey確認済み · 92%
choco install luarocks

Chocolatey community package catalog · luarocks · ソース: community.chocolatey.org

Scoop確認済み · 92%
scoop install main/luarocks

Scoop official bucket manifest trees · bucket/luarocks.json · ソース: api.github.com

概要

パッケージ概要

Package manager for the Lua programming language

コマンドとエイリアス

  • luarocks
  • luarocks-admin

履歴

プロジェクトの歴史と使われ方

LuaRocks is the package manager and public package repository system for Lua modules. It introduced the rockspec-centered workflow that lets Lua packages declare metadata, dependencies, sources, and build rules in Lua.

プロジェクトの歴史

The LuaRocks project describes itself as the package manager for the Lua programming language. Its repository README and wiki say it installs modules as self-contained packages called rocks and supports local and remote repositories plus multiple local rocks trees.

LuaRocks' documentation centers on the rockspec: a Lua metadata file that tells the tool how to fetch, build, and install a package. This design made LuaRocks both a package installer and a lightweight build/publishing convention for Lua modules, including modules with native C extensions.

採用の歴史

LuaRocks became the default package-distribution culture for much of Lua outside application-specific ecosystems. The official site surfaces recent modules, labels, weekly download counts, root manifests, custom manifests, mirrors, and upload flows, showing that LuaRocks is both a CLI and the central package index.

The input metadata shows broad OS package coverage: LuaRocks is available through Homebrew, MacPorts, Debian, Ubuntu, Fedora, Alpine, Arch, Nix, Scoop, and Chocolatey. That matters because Lua projects often need LuaRocks before they can install testing tools, web frameworks, OpenResty libraries, or native-binding modules.

使われ方

The command-line interface is luarocks. It supports installing, building, packing, uploading, searching, showing, removing, testing, and configuring rocks, and can operate against selected servers, trees, and dependency modes.

Package authors write a rockspec, tag or publish their source, and submit or upload the rockspec. LuaRocks can build from source, make from a local checkout, pack source or binary rocks, and publish artifacts that users install without needing the original source-control tool.

パッケージ好きにとっての重要性

LuaRocks is central package-nerd infrastructure for Lua because it defines the names, versions, build metadata, binary/source artifact formats, and repository manifests that other tools consume. It is the closest analogue to npm, RubyGems, or CPAN for Lua, but with Lua-specific details such as Lua-version-specific trees and native module paths.

It is also historically important because it works across stock Lua and LuaJIT ecosystems. That cross-runtime support, plus package-manager availability on Unix and Windows, made it the practical bootstrap path for Lua dependency management.

タイムライン

  • 2000s: LuaRocks emerges as Lua's rockspec-based package manager.
  • 2010s: Development and distribution consolidate around the GitHub repository and luarocks.org.
  • 2020s: Documentation moves from the GitHub wiki into the repository docs folder.
  • 2026: GitHub lists LuaRocks 3.13.0 as the latest release, dated Jan 28, 2026.

Related projects

  • Lua is the language ecosystem LuaRocks packages target.
  • LuaJIT is a common LuaRocks runtime target and package dependency.
  • OpenResty libraries such as lua-resty modules are commonly distributed through LuaRocks.

セキュリティ状態

リスクレベル: orange

generalized runtime or code generation signal. infrastructure mutation or orchestration signal.

リスク分類器

リスク orange · 信頼度 中 · infrastructure

理由

  • generalized runtime or code generation signal
  • infrastructure mutation or orchestration signal

信号

  • text:package manager
  • text:programming language

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 1 個のプラットフォームターゲットで利用できます。
  • 1 件の実行時依存関係とともにインストールされます。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
$XDG_CONFIG_HOME/luarocks/upload_config.lua~/.config/luarocks/upload_config.lua~/.luarocks/upload_config.lua

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
$XDG_CONFIG_HOME/luarocks/upload_config.lua~/.config/luarocks/upload_config.lua~/.luarocks/upload_config.lua

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
luarockscliグローバル実行可能ファイル
luarocks-admincliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-10
マネージャ版3.13.0
マネージャ更新日
ローカルデータOK
上流not checked
検出された最新未検出

https://luarocks.org/

  • 情報No package-manager update timestamp was available.信頼度 低
  • 情報Release/tag comparison is only available for GitHub repositories.https://luarocks.org/信頼度 none

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:luarocks
バージョン3.13.0
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/luarocks
ホームページhttps://luarocks.org/
リポジトリhttps://github.com/luarocks/luarocks
上流ドキュメントhttps://luarocks.org/docs
ライセンスMIT
ソースアーカイブhttps://luarocks.org/releases/luarocks-3.13.0.tar.gz
依存関係lua
macOS 提供ライブラリunzip
Bottle利用可能 (対象 all)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameluarocks
Version Scheme0
Revision1
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Debian apt95%

luarocks 3.8.0+dfsg1-1

deployment and management system for Lua modules

https://luarocks.org/

sudo apt install luarocks
  • Section: interpreters
  • Architecture: all
  • 10 依存関係
  • 1 任意依存関係
  • normalized package name match
  • 一致条件: Luarocks
Debian stable package indexes · deb.debian.org · Debian stable package indexes: luarocks from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

luarocks

nix profile install nixpkgs#luarocks
  • normalized package name match
  • 一致条件: Luarocks
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: luarocks from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
Ubuntu apt95%

luarocks 3.8.0+dfsg1-1

deployment and management system for Lua modules

https://luarocks.org/

sudo apt install luarocks
  • Section: universe/interpreters
  • Architecture: all
  • 10 依存関係
  • 1 任意依存関係
  • normalized package name match
  • 一致条件: Luarocks
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: luarocks from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

luarocks 3.12.2-r1

Deployment and management system for Lua modules

https://luarocks.org/

sudo apk add luarocks
  • License: MIT
  • Architecture: x86_64
  • Source Package: luarocks
  • 1 依存関係
  • normalized package name match
  • 一致条件: Luarocks
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: luarocks from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

luarocks5.1 3.12.2-r1

Deployment and management system for Lua 5.1 modules

https://luarocks.org/

sudo apk add luarocks5.1
  • License: MIT
  • Architecture: x86_64
  • Source Package: luarocks
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Luarocks
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: luarocks5.1 from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

luarocks5.2 3.12.2-r1

Deployment and management system for Lua 5.2 modules

https://luarocks.org/

sudo apk add luarocks5.2
  • License: MIT
  • Architecture: x86_64
  • Source Package: luarocks
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Luarocks
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: luarocks5.2 from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

luarocks5.3 3.12.2-r1

Deployment and management system for Lua 5.3 modules

https://luarocks.org/

sudo apk add luarocks5.3
  • License: MIT
  • Architecture: x86_64
  • Source Package: luarocks
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Luarocks
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: luarocks5.3 from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

luarocks5.4 3.12.2-r1

Deployment and management system for Lua 5.4 modules

https://luarocks.org/

sudo apk add luarocks5.4
  • License: MIT
  • Architecture: x86_64
  • Source Package: luarocks
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Luarocks
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: luarocks5.4 from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

luarocks 3.13.0-2.fc45

A deployment and management system for Lua modules

http://luarocks.org

sudo dnf install luarocks
  • License: MIT
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: luarocks
  • 5 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: Luarocks
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: luarocks from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

luarocks 3.13.0-5

Deployment and management system for Lua modules

https://luarocks.org/

sudo pacman -S luarocks
  • License: custom
  • Architecture: any
  • 6 依存関係
  • 5 任意依存関係
  • normalized package name match
  • 一致条件: Luarocks
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: luarocks from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
Chocolatey95%

luarocks

choco install luarocks
  • normalized package name match
  • 一致条件: Luarocks
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: luarocks from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','librespeed-cli'
Scoop95%

main/luarocks

scoop install main/luarocks
  • normalized package name match
  • 一致条件: Luarocks
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/luarocks.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated agent safety answer
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment