Automic VaultAutomic Vault

brew

astyle を Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, pacman, zypper, scoop でインストール

astyle のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install astyle

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install astyle

MacPorts ports tree · devel/astyle/Portfile · ソース: api.github.com

Linux

Alpine Linux apk確認済み · 92%
sudo apk add astyle

Alpine Linux edge package indexes · astyle · ソース: dl-cdn.alpinelinux.org

Debian apt確認済み · 92%
sudo apt install astyle

Debian stable package indexes · astyle · ソース: deb.debian.org

Fedora dnf確認済み · 92%
sudo dnf install astyle

Fedora Rawhide package metadata · astyle · ソース: dl.fedoraproject.org

Nix確認済み · 92%
nix profile install nixpkgs#astyle

nixpkgs package indexes · pkgs/by-name/as/astyle/package.nix · ソース: api.github.com

Arch Linux pacman確認済み · 92%
sudo pacman -S astyle

Arch Linux sync databases · astyle · ソース: geo.mirror.pkgbuild.com

openSUSE zypper確認済み · 92%
sudo zypper install astyle

openSUSE Tumbleweed package metadata · astyle · ソース: download.opensuse.org

概要

パッケージ概要

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.

タイムライン

  • 1998: ASBeautifier 0.8.0 was published as the first public release.
  • 1998-11-24: Artistic Style 1.0.0 was released.
  • 2010-11: Artistic Style 2.01 was released.
  • 2017-04: Artistic Style 3.0 was released.
  • 2018-01: Artistic Style 3.1 added project option files and changed the Windows default option path to APPDATA.
  • 2022-11-20: The GitLab project record was created for the current day-to-day Git repository.
  • 2024-08: Artistic Style 3.6 was released.
  • 2025-07: Artistic Style 3.6.10 appeared in the official release notes.

Related projects

  • ASBeautifier and JSBeautifier are the named predecessors in the official release archive.
  • Editor and IDE integrations commonly call AStyle or embed its library.
  • clang-format is a later formatter often compared with AStyle in C and C++ workflows, though it is not an upstream dependency.

セキュリティ状態

保護ツール対応はまだ見つかっていません

astyle に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。
  • ビルドメタデータには 1 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

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
~/.astylerc<project>/.astylerc<project>/_astylerc
Windows
%APPDATA%\astylerc<project>\.astylerc<project>\_astylerc

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
astylecliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-10
マネージャ版3.6.17
マネージャ更新日2026-07-07
ローカルデータOK
上流not checked
検出された最新未検出

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
Pulseupdated
ビルド依存関係cmake
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameastyle
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Debian apt95%

astyle 3.1-3+b3

Source code indenter for C, C++, Objective-C, C#, and Java

http://astyle.sourceforge.net/

sudo apt install astyle
  • Section: devel
  • Architecture: amd64
  • Source Package: astyle
  • 2 依存関係
  • 1 任意依存関係
  • normalized package name match
  • 一致条件: Astyle
Debian stable package indexes · deb.debian.org · Debian stable package indexes: astyle from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libastyle-dev 3.1-3+b3

Library header files for Artistic Style

http://astyle.sourceforge.net/

sudo apt install libastyle-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: astyle
  • 1 依存関係
  • normalized package name match
  • 一致条件: Astyle
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libastyle-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libastyle3 3.1-3+b3

Shared library for Artistic Style

http://astyle.sourceforge.net/

sudo apt install libastyle3
  • Section: libs
  • Architecture: amd64
  • Source Package: astyle
  • 2 依存関係
  • normalized package name match
  • 一致条件: Astyle
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libastyle3 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libastylej-jni 3.1-3+b3

Java JNI library for Artistic Style

http://astyle.sourceforge.net/

sudo apt install libastylej-jni
  • Section: libs
  • Architecture: amd64
  • Source Package: astyle
  • 2 依存関係
  • normalized package name match
  • 一致条件: Astyle
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libastylej-jni from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

astyle

nix profile install nixpkgs#astyle
  • normalized package name match
  • 一致条件: Astyle
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/as/astyle/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

astyle 3.1-3build1

Source code indenter for C, C++, Objective-C, C#, and Java

http://astyle.sourceforge.net/

sudo apt install astyle
  • Section: universe/devel
  • Architecture: amd64
  • 2 依存関係
  • 1 任意依存関係
  • normalized package name match
  • 一致条件: Astyle
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: astyle from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libastyle-dev 3.1-3build1

Library header files for Artistic Style

http://astyle.sourceforge.net/

sudo apt install libastyle-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: astyle
  • 1 依存関係
  • normalized package name match
  • 一致条件: Astyle
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libastyle-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libastyle3 3.1-3build1

Shared library for Artistic Style

http://astyle.sourceforge.net/

sudo apt install libastyle3
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: astyle
  • 2 依存関係
  • normalized package name match
  • 一致条件: Astyle
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libastyle3 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libastylej-jni 3.1-3build1

Java JNI library for Artistic Style

http://astyle.sourceforge.net/

sudo apt install libastylej-jni
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: astyle
  • 2 依存関係
  • normalized package name match
  • 一致条件: Astyle
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libastylej-jni from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

astyle 3.6.16-r0

Automatic code formatter

https://sourceforge.net/projects/astyle/

sudo apk add astyle
  • License: MIT
  • Architecture: x86_64
  • Source Package: astyle
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Astyle
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: astyle from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

astyle-dev 3.6.16-r0

Automatic code formatter (development files)

https://sourceforge.net/projects/astyle/

sudo apk add astyle-dev
  • License: MIT
  • Architecture: x86_64
  • Source Package: astyle
  • 1 依存関係
  • normalized package name match
  • 一致条件: Astyle
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: astyle-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

astyle-doc 3.6.16-r0

Automatic code formatter (documentation)

https://sourceforge.net/projects/astyle/

sudo apk add astyle-doc
  • License: MIT
  • Architecture: x86_64
  • Source Package: astyle
  • normalized package name match
  • 一致条件: Astyle
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: astyle-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

astyle-libs 3.6.16-r0

Automatic code formatter (libraries)

https://sourceforge.net/projects/astyle/

sudo apk add astyle-libs
  • License: MIT
  • Architecture: x86_64
  • Source Package: astyle
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Astyle
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: astyle-libs from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

astyle 3.6.16-1.fc45

Source code formatter for C-like programming languages

https://astyle.sourceforge.net/

sudo dnf install astyle
  • License: MIT
  • Category: Unspecified
  • Architecture: i686
  • Source Package: astyle
  • 4 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: Astyle
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: astyle from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

astyle-devel 3.6.16-1.fc45

Source code formatter for C-like programming languages

https://astyle.sourceforge.net/

sudo dnf install astyle-devel
  • License: MIT
  • Category: Unspecified
  • Architecture: i686
  • Source Package: astyle
  • 2 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Astyle
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: astyle-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

astyle 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
  • License: LGPL-3.0-only
  • Architecture: x86_64
  • 3 依存関係
  • 1 任意依存関係
  • normalized package name match
  • 一致条件: Astyle
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: astyle from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment