macOS
brew install stylualocal Homebrew formula metadata
sudo port install styluaMacPorts ports tree · lua/stylua/Portfile · Source: api.github.com
brew / rang 1267
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de stylua pour les workflows d'agents IA.
installation
brew install stylualocal Homebrew formula metadata
sudo port install styluaMacPorts ports tree · lua/stylua/Portfile · Source: api.github.com
sudo apk add styluaAlpine Linux edge package indexes · stylua · Source: dl-cdn.alpinelinux.org
nix profile install nixpkgs#styluanixpkgs package indexes · pkgs/by-name/st/stylua/package.nix · Source: api.github.com
sudo pacman -S styluaArch Linux sync databases · stylua · Source: geo.mirror.pkgbuild.com
sudo zypper install StyLuaopenSUSE Tumbleweed package metadata · StyLua · Source: download.opensuse.org
scoop install main/styluaScoop official bucket manifest trees · bucket/stylua.json · Source: api.github.com
winget install --id JohnnyMorganz.StyLua -eWindows Package Manager source index · JohnnyMorganz.StyLua · Source: cdn.winget.microsoft.com
aperçu
Opinionated Lua code formatter
historique
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.
posture de sécurité
Aucun manifest local de gestion des secrets correspondant n'a été trouvé pour stylua. Les métadonnées de paquet Nucleus restent publiées ici afin que la couverture future dispose d'une URL stable.
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.
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.tomlexécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
stylua | exécutable | exécutable indexé | Découvert depuis l'index local des exécutables. |
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.
métadonnées d'installation
| Clé du paquet | brew:stylua |
|---|---|
| Version | 2.5.2 |
| Gestionnaire de paquets | Homebrew |
| Page d'accueil | https://github.com/JohnnyMorganz/StyLua |
| Dépôt | https://github.com/JohnnyMorganz/StyLua |
| Dernière mise à jour | 2026-05-16T18:32:04Z |
| Pulse | updated |
| Bouteille | non enregistré |
| Service | aucun déclaré |
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
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 -episte source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.