astyle
« Back to VersTracker
Description:
Source code beautifier for C, C++, C#, and Java
Type: Formula  |  Latest Version: 3.6.13@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: formatter c++ java code-quality developer-tools
Install: brew install astyle
About:
Artistic Style is a source code formatter that automatically indents and reformats C, C++, C#, and Java code to adhere to a specified style. It handles bracket placement, spacing, and indentation to ensure consistency across large codebases. This tool is essential for maintaining clean, readable code without manual effort.
Key Features:
  • Supports C, C++, C#, and Java
  • Highly configurable formatting options
  • Batch processing for entire directories
  • Preserves original comments and logic
Use Cases:
  • Enforcing team coding standards
  • Cleaning up legacy codebases
  • Automating code formatting in CI/CD pipelines
Alternatives:
  • clang-format – Part of the LLVM project, widely used for C/C++ with strict style enforcement.
  • prettier – Focuses on JavaScript/TypeScript ecosystems, opinionated formatting.
License: MIT
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, sonoma, arm64_linux, x86_64_linux
Version History
Detected Version Rev Change Commit
Oct 27, 2025 10:50pm 0 VERSION_BUMP ce64529d
Sep 11, 2025 7:05am 0 VERSION_BUMP d463c587
Dec 17, 2024 6:24am 0 VERSION_BUMP d914883b
Dec 16, 2024 9:42pm 0 VERSION_BUMP c5daa5e6
Sep 30, 2024 11:09pm 0 VERSION_BUMP dcb8f1ba
Sep 30, 2024 9:24pm 0 VERSION_BUMP 945d5a35