macOS
brew install astylelocal Homebrew formula metadata
sudo port install astyleMacPorts ports tree · devel/astyle/Portfile · ソース: api.github.com
brew
astyle のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install astylelocal Homebrew formula metadata
sudo port install astyleMacPorts ports tree · devel/astyle/Portfile · ソース: api.github.com
sudo apk add astyleAlpine Linux edge package indexes · astyle · ソース: dl-cdn.alpinelinux.org
sudo apt install astyleDebian stable package indexes · astyle · ソース: deb.debian.org
sudo dnf install astyleFedora Rawhide package metadata · astyle · ソース: dl.fedoraproject.org
nix profile install nixpkgs#astylenixpkgs package indexes · pkgs/by-name/as/astyle/package.nix · ソース: api.github.com
sudo pacman -S astyleArch Linux sync databases · astyle · ソース: geo.mirror.pkgbuild.com
sudo zypper install astyleopenSUSE Tumbleweed package metadata · astyle · ソース: download.opensuse.org
choco install astyleChocolatey community package catalog · astyle · ソース: community.chocolatey.org
scoop install main/astyleScoop official bucket manifest trees · bucket/astyle.json · ソース: api.github.com
概要
Source code beautifier for C, C++, C#, and Java
履歴
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.
セキュリティ状態
astyle に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ 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.
~/.astylerc<project>/.astylerc<project>/_astylerc%APPDATA%\astylerc<project>\.astylerc<project>\_astylerc実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
astyle | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://astyle.sourceforge.net/
インストールメタデータ
| パッケージキー | brew:astyle |
|---|---|
| バージョン | 3.6.17 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/astyle |
| ホームページ | https://astyle.sourceforge.net/ |
| リポジトリ | https://gitlab.com/saalen/astyle |
| 上流ドキュメント | https://astyle.sourceforge.net/astyle.html |
| ライセンス | MIT |
| ソースアーカイブ | https://downloads.sourceforge.net/project/astyle/astyle/astyle%203.6/astyle-3.6.17.tar.bz2 |
| 最終更新 | 2026-07-07T20:43:51Z |
| Pulse | updated |
| ビルド依存関係 | cmake |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| 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 |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
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 astyleソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.