macOS
brew install astylelocal Homebrew formula metadata
sudo port install astyleMacPorts ports tree · devel/astyle/Portfile · Source: api.github.com
brew
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de astyle pour les workflows d'agents IA.
installation
brew install astylelocal Homebrew formula metadata
sudo port install astyleMacPorts ports tree · devel/astyle/Portfile · Source: api.github.com
sudo apk add astyleAlpine Linux edge package indexes · astyle · Source: dl-cdn.alpinelinux.org
sudo apt install astyleDebian stable package indexes · astyle · Source: deb.debian.org
sudo dnf install astyleFedora Rawhide package metadata · astyle · Source: dl.fedoraproject.org
nix profile install nixpkgs#astylenixpkgs package indexes · pkgs/by-name/as/astyle/package.nix · Source: api.github.com
sudo pacman -S astyleArch Linux sync databases · astyle · Source: geo.mirror.pkgbuild.com
sudo zypper install astyleopenSUSE Tumbleweed package metadata · astyle · Source: download.opensuse.org
choco install astyleChocolatey community package catalog · astyle · Source: community.chocolatey.org
scoop install main/astyleScoop official bucket manifest trees · bucket/astyle.json · Source: api.github.com
aperçu
Source code beautifier for C, C++, C#, and Java
historique
Artistic Style, usually installed as astyle, is a long-running source code formatter for C, C++, C++/CLI, Objective-C, C#, Java, and related brace-heavy languages. It predates many modern formatter ecosystems and remains a compact command-line beautifier with a library build option.
The official release archive traces the lineage back to ASBeautifier 0.8.0, described as the first public release and a direct C++ port of JSBeautifier 1.1.1 with extensions for C++ indentation. Artistic Style 1.0.0 followed on November 24, 1998, with behavior that retained the original filename and wrote the preformatted source to a .orig backup.
By 1999 the project had added a formatting layer around the beautifier, brace placement modes, and operator padding. The 1.x line accumulated C, C++, Java, namespace, pointer, reference, and recursive processing behavior over several years; later 2.x releases broadened language handling and build support, while 3.x releases modernized the codebase and options.
The current project site describes Artistic Style as free, fast, and small, written in C++, usable either as a command-line program or as a library. The official source repository page says day-to-day development now happens in the GitLab repository, while the SourceForge SVN repository is kept up to date regularly.
AStyle became widely packaged because it solved a boring cross-language problem with a small native binary and no editor dependency. The input package facts list packages across Homebrew, Debian, Ubuntu, Fedora, Arch, Alpine, Chocolatey, Scoop, MacPorts, Nix, and openSUSE.
Its adoption path also runs through editors and IDEs. The official site notes applications that use Artistic Style as contributed software, either embedding it or calling the command-line program, and it documents compile options for shared and static libraries, JNI, and examples for multiple host languages.
Users invoke astyle on one or more source files, with options controlling brace style, indentation, padding, pointer/reference alignment, recursive processing, backup suffixes, and language mode. By default, formatted files retain their original names and backups are created unless disabled.
Option files are a core part of real-world usage. The manual documents default option files such as ~/.astylerc on Unix-like systems and %APPDATA%\astylerc on Windows, plus project option files named .astylerc or _astylerc found from the project root or parent paths. Command-line options override project options, which override default options.
AStyle is the sort of formatter that package managers keep forever: tiny, native, scriptable, no runtime service, and useful both before and after editor integrations. It sits in the same historical shelf as indent-style tools that developers wired into Makefiles, hooks, IDE commands, and release scripts before opinionated single-language formatters took over.
Its long release archive is also valuable package archaeology. You can watch a formatter evolve from ASBeautifier and early brace placement into modern C++ support, project config files, fuzzing fixes, CMake builds, shell completions, and issue-driven maintenance.
posture de sécurité
Aucun manifest local de gestion des secrets correspondant n'a été trouvé pour astyle. 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.
~/.astylerc<project>/.astylerc<project>/_astylerc%APPDATA%\astylerc<project>\.astylerc<project>\_astylercexécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
astyle | cli | exécutable global |
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.
https://astyle.sourceforge.net/
métadonnées d'installation
| Clé du paquet | brew:astyle |
|---|---|
| Version | 3.6.17 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/astyle |
| Page d'accueil | https://astyle.sourceforge.net/ |
| Dépôt | https://gitlab.com/saalen/astyle |
| Docs amont | https://astyle.sourceforge.net/astyle.html |
| Licence | MIT |
| Archive source | https://downloads.sourceforge.net/project/astyle/astyle/astyle%203.6/astyle-3.6.17.tar.bz2 |
| Dernière mise à jour | 2026-07-07T20:43:51Z |
| Pulse | updated |
| Dépendances de compilation | cmake |
| Bouteille | disponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| post-install Homebrew | non défini |
| Service | aucun déclaré |
faits du registre
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | astyle |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
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.
astyle 3.1-3+b3
Source code indenter for C, C++, Objective-C, C#, and Java
http://astyle.sourceforge.net/
sudo apt install astylelibastyle-dev 3.1-3+b3
Library header files for Artistic Style
http://astyle.sourceforge.net/
sudo apt install libastyle-devlibastyle3 3.1-3+b3
Shared library for Artistic Style
http://astyle.sourceforge.net/
sudo apt install libastyle3libastylej-jni 3.1-3+b3
Java JNI library for Artistic Style
http://astyle.sourceforge.net/
sudo apt install libastylej-jniastyle
nix profile install nixpkgs#astyleastyle 3.1-3build1
Source code indenter for C, C++, Objective-C, C#, and Java
http://astyle.sourceforge.net/
sudo apt install astylelibastyle-dev 3.1-3build1
Library header files for Artistic Style
http://astyle.sourceforge.net/
sudo apt install libastyle-devlibastyle3 3.1-3build1
Shared library for Artistic Style
http://astyle.sourceforge.net/
sudo apt install libastyle3libastylej-jni 3.1-3build1
Java JNI library for Artistic Style
http://astyle.sourceforge.net/
sudo apt install libastylej-jniastyle 3.6.16-r0
Automatic code formatter
https://sourceforge.net/projects/astyle/
sudo apk add astyleastyle-dev 3.6.16-r0
Automatic code formatter (development files)
https://sourceforge.net/projects/astyle/
sudo apk add astyle-devastyle-doc 3.6.16-r0
Automatic code formatter (documentation)
https://sourceforge.net/projects/astyle/
sudo apk add astyle-docastyle-libs 3.6.16-r0
Automatic code formatter (libraries)
https://sourceforge.net/projects/astyle/
sudo apk add astyle-libsastyle 3.6.16-1.fc45
Source code formatter for C-like programming languages
https://astyle.sourceforge.net/
sudo dnf install astyleastyle-devel 3.6.16-1.fc45
Source code formatter for C-like programming languages
https://astyle.sourceforge.net/
sudo dnf install astyle-develastyle 3.6.16-1
A free, fast and small automatic formatter for C, C++, C#, and Java source code
http://astyle.sourceforge.net/
sudo pacman -S astylepiste 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.