macOS
brew install stylualocal Homebrew formula metadata
sudo port install styluaMacPorts ports tree · lua/stylua/Portfile · ソース: api.github.com
brew / 順位 1267
stylua のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install stylualocal Homebrew formula metadata
sudo port install styluaMacPorts ports tree · lua/stylua/Portfile · ソース: api.github.com
sudo apk add styluaAlpine Linux edge package indexes · stylua · ソース: dl-cdn.alpinelinux.org
nix profile install nixpkgs#styluanixpkgs package indexes · pkgs/by-name/st/stylua/package.nix · ソース: api.github.com
sudo pacman -S styluaArch Linux sync databases · stylua · ソース: geo.mirror.pkgbuild.com
sudo zypper install StyLuaopenSUSE Tumbleweed package metadata · StyLua · ソース: download.opensuse.org
scoop install main/styluaScoop official bucket manifest trees · bucket/stylua.json · ソース: api.github.com
winget install --id JohnnyMorganz.StyLua -eWindows Package Manager source index · JohnnyMorganz.StyLua · ソース: cdn.winget.microsoft.com
概要
Opinionated Lua code formatter
履歴
StyLua is a deterministic Lua-family code formatter. Its README says it formats Lua 5.1 through 5.4, LuaJIT, Luau, and CfxLua/FiveM Lua by parsing code and printing it back out with a consistent style inspired by Prettier.
The official changelog begins with version 0.1.0 on 2020-12-30, adding CLI stdin support and formatting behavior for expanded tables. The project later grew from a Lua formatter into a multi-runtime tool with runtime syntax selection, language-server mode, prebuilt binaries, npm wrappers, Docker images, pre-commit hooks, and editor integrations.
The README documents installation through GitHub Releases, Cargo/crates.io, GitHub Actions, pre-commit, npm, Docker, Homebrew, pip/uv from Git, VS Code, Aftman, and community package repositories. The input package-manager facts also show packaging across APK, Homebrew, MacPorts, Nix, Pacman, Scoop, and zypper.
The usual workflow is `stylua` over files or directories, with `--check` in CI, stdin support for editors, `.styluaignore` for filtering, and `stylua.toml` or `.stylua.toml` for project configuration. The README recommends a project-root `.stylua.toml` so teams share the same formatting behavior.
StyLua is interesting to package nerds because it crosses ecosystems: Rust crate, standalone GitHub binary, npm binary wrapper, Docker image, Homebrew formula, pre-commit hook, and editor formatter. Its 2.x history includes packaging details such as platform-specific npm optional packages and changed release artifact names, both of which directly affect downstream packaging.
セキュリティ状態
stylua に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
local files
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.
Config paths the tool may read or write during local use.
stylua.toml.stylua.toml$XDG_CONFIG_HOME/stylua~/.config/styluastylua.toml.stylua.toml実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
stylua | 実行可能ファイル | インデックス済み実行可能ファイル | ローカル実行可能ファイルインデックスから検出されました。 |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
インストールメタデータ
| パッケージキー | brew:stylua |
|---|---|
| バージョン | 2.5.2 |
| パッケージマネージャ | Homebrew |
| ホームページ | https://github.com/JohnnyMorganz/StyLua |
| リポジトリ | https://github.com/JohnnyMorganz/StyLua |
| 最終更新 | 2026-05-16T18:32:04Z |
| Pulse | updated |
| Bottle | 未記録 |
| サービス | 宣言なし |
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
stylua
nix profile install nixpkgs#styluastylua 2.5.2-r0
Opinionated Lua code formatter
https://github.com/JohnnyMorganz/StyLua
sudo apk add styluastylua 2.5.2-1
Deterministic code formatter for Lua
https://github.com/JohnnyMorganz/StyLua
sudo pacman -S styluaStyLua 2.0.2-1.7
Opinionated Lua code formatter
https://github.com/JohnnyMorganz/StyLua
sudo zypper install StyLuastylua
sudo port install styluamain/stylua
scoop install main/styluaJohnnyMorganz.StyLua
winget install --id JohnnyMorganz.StyLua -eソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.