macOS
brew install astylelocal Homebrew formula metadata
sudo port install astyleMacPorts ports tree · devel/astyle/Portfile · Quelle: api.github.com
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für astyle in AI-Agent-Workflows.
Installation
brew install astylelocal Homebrew formula metadata
sudo port install astyleMacPorts ports tree · devel/astyle/Portfile · Quelle: api.github.com
sudo apk add astyleAlpine Linux edge package indexes · astyle · Quelle: dl-cdn.alpinelinux.org
sudo apt install astyleDebian stable package indexes · astyle · Quelle: deb.debian.org
sudo dnf install astyleFedora Rawhide package metadata · astyle · Quelle: dl.fedoraproject.org
nix profile install nixpkgs#astylenixpkgs package indexes · pkgs/by-name/as/astyle/package.nix · Quelle: api.github.com
sudo pacman -S astyleArch Linux sync databases · astyle · Quelle: geo.mirror.pkgbuild.com
sudo zypper install astyleopenSUSE Tumbleweed package metadata · astyle · Quelle: download.opensuse.org
choco install astyleChocolatey community package catalog · astyle · Quelle: community.chocolatey.org
scoop install main/astyleScoop official bucket manifest trees · bucket/astyle.json · Quelle: api.github.com
Überblick
Source code beautifier for C, C++, C#, and Java
Verlauf
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.
Sicherheitslage
Für astyle wurde kein passendes lokales Secret-Handling-Manifest gefunden. Nucleus-Paketmetadaten bleiben hier veröffentlicht, damit künftige Abdeckung eine stabile Paket-URL hat.
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
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>\_astylercExecutables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
astyle | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
https://astyle.sourceforge.net/
Installationsmetadaten
| Paketschlüssel | brew:astyle |
|---|---|
| Version | 3.6.17 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/astyle |
| Homepage | https://astyle.sourceforge.net/ |
| Repository | https://gitlab.com/saalen/astyle |
| Upstream-Dokumentation | https://astyle.sourceforge.net/astyle.html |
| Lizenz | MIT |
| Quellarchiv | https://downloads.sourceforge.net/project/astyle/astyle/astyle%203.6/astyle-3.6.17.tar.bz2 |
| Zuletzt aktualisiert | 2026-07-07T20:43:51Z |
| Pulse | updated |
| Build-Abhängigkeiten | cmake |
| Bottle | verfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| 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 |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
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 astyleQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.