pkg.soopen package index

brew / rang 1267

Installer stylua avec Homebrew, apk, MacPorts, Nix, pacman, scoop, winget, zypper

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

installation

Commandes d'installation supplémentaires

macOS

Homebrewvérifié · 100%
brew install stylua

local Homebrew formula metadata

MacPortsvérifié · 94%
sudo port install stylua

MacPorts ports tree · lua/stylua/Portfile · Source: api.github.com

Linux

Alpine Linux apkvérifié · 92%
sudo apk add stylua

Alpine Linux edge package indexes · stylua · Source: dl-cdn.alpinelinux.org

Nixvérifié · 92%
nix profile install nixpkgs#stylua

nixpkgs package indexes · pkgs/by-name/st/stylua/package.nix · Source: api.github.com

Arch Linux pacmanvérifié · 92%
sudo pacman -S stylua

Arch Linux sync databases · stylua · Source: geo.mirror.pkgbuild.com

openSUSE zyppervérifié · 92%
sudo zypper install StyLua

openSUSE Tumbleweed package metadata · StyLua · Source: download.opensuse.org

Windows

Scoopvérifié · 92%
scoop install main/stylua

Scoop official bucket manifest trees · bucket/stylua.json · Source: api.github.com

Windows Package Managervérifié · 92%
winget install --id JohnnyMorganz.StyLua -e

Windows Package Manager source index · JohnnyMorganz.StyLua · Source: cdn.winget.microsoft.com

aperçu

Résumé du paquet

Opinionated Lua code formatter

Commandes et alias

  • stylua

historique

Historique du projet et usages

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.

Historique du projet

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.

Historique d'adoption

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.

Modes d'utilisation

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.

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

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.

Chronologie

  • 2020-12-30: StyLua 0.1.0 released with CLI stdin support.
  • 2024-11-17: StyLua 2.0.0 changed release artifact names and added runtime syntax configuration.
  • 2025-09-14: StyLua 2.2.0 added language server mode.
  • 2026-05-16: StyLua 2.5.0 changed npm binary packaging to platform-specific optional packages.

Related projects

  • The README names full-moon as the parser foundation and Prettier as an inspiration, while also tying StyLua to Luau, Roblox style conventions, CfxLua/FiveM, pre-commit, GitHub Actions, Docker, npm, Cargo, Aftman, VS Code, Neovim, Sublime, and Zed.

posture de sécurité

Aucune couverture d'outil protégé trouvée pour le moment

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.

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.

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
stylua.toml.stylua.toml$XDG_CONFIG_HOME/stylua~/.config/stylua
Windows
stylua.toml.stylua.toml

exécutables

Exécutables installés

CommandeTypeExpositionNote
styluaexé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 gestionnaire2.5.2
gestionnaire mis à jour2026-05-16
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:stylua
Version2.5.2
Gestionnaire de paquetsHomebrew
Page d'accueilhttps://github.com/JohnnyMorganz/StyLua
Dépôthttps://github.com/JohnnyMorganz/StyLua
Dernière mise à jour2026-05-16T18:32:04Z
Pulseupdated
Bouteillenon enregistré
Serviceaucun déclaré

correspondances dans les bases sources

Autres enregistrements de gestionnaires de paquets

Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.

Nix95%

stylua

nix profile install nixpkgs#stylua
  • normalized package name match
  • Correspondance par : Stylua
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/st/stylua/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

stylua 2.5.2-r0

Opinionated Lua code formatter

https://github.com/JohnnyMorganz/StyLua

sudo apk add stylua
  • License: MPL-2.0
  • Architecture: x86_64
  • Source Package: stylua
  • 1 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Stylua
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: stylua from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
pacman95%

stylua 2.5.2-1

Deterministic code formatter for Lua

https://github.com/JohnnyMorganz/StyLua

sudo pacman -S stylua
  • License: MPL-2.0
  • Architecture: x86_64
  • 3 Dépendances
  • normalized package name match
  • Correspondance par : Stylua
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: stylua from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

StyLua 2.0.2-1.7

Opinionated Lua code formatter

https://github.com/JohnnyMorganz/StyLua

sudo zypper install StyLua
  • License: (Apache-2.0 OR MIT) AND Unicode-DFS-2016 AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (MIT OR Unlicense) AND Apache-2.0 AND MIT AND MPL-2.0 AND
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: StyLua
  • 3 Dépendances
  • 2 fournit
  • normalized package name match
  • Correspondance par : Stylua
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: StyLua from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst
MacPorts95%

stylua

sudo port install stylua
  • normalized package name match
  • Correspondance par : Stylua
MacPorts ports tree · api.github.com · MacPorts ports tree: lua/stylua/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/stylua

scoop install main/stylua
  • normalized package name match
  • Correspondance par : Stylua
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/stylua.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

JohnnyMorganz.StyLua

winget install --id JohnnyMorganz.StyLua -e
  • normalized package name match
  • Correspondance par : Stylua
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: JohnnyMorganz.StyLua from https://cdn.winget.microsoft.com/cache/source.msix

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
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation