prettier
« Back to VersTracker
Description:
Code formatter for JavaScript, CSS, JSON, GraphQL, Markdown, YAML
Type: Formula  |  Latest Version: 3.7.4@0  |  Tracked Since: Dec 1, 2025
Links: Homepage  |  @prettier  |  formulae.brew.sh
Category: Developer tools
Tags: formatter javascript developer-tools code-style linting
Install: brew install prettier
About:
Prettier is an opinionated code formatter that enforces consistent style by parsing code and reprinting it with its own rules. It supports a wide range of languages including JavaScript, CSS, JSON, GraphQL, Markdown, and YAML. The tool integrates with most editors and build workflows to automatically format code on save or commit.
Key Features:
  • Supports multiple languages and file formats
  • Opinionated defaults eliminate style debates
  • Integrates with editors, linters, and CI/CD pipelines
  • Deterministic formatting ensures consistent output
Use Cases:
  • Enforcing consistent code style across development teams
  • Automating code formatting in pre-commit hooks and CI pipelines
  • Standardizing Markdown documentation and configuration files
Alternatives:
  • ESLint – Linter with formatting rules, but Prettier is more focused and automatic
  • Biome – Faster Rust-based toolchain combining linting and formatting
Version History
Detected Version Rev Change Commit
Dec 24, 2025 9:55pm 3.7.4 0 VERSION_BUMP 0f5790d2
Dec 1, 2025 10:22am 0 VERSION_BUMP 0eb2582d
Dec 4, 2024 8:50am 0 VERSION_BUMP 58102fd6
Dec 4, 2024 8:09am 0 VERSION_BUMP 6b7e6973
Nov 26, 2024 3:25pm 0 VERSION_BUMP 18db5af8
Nov 26, 2024 11:37am 0 VERSION_BUMP d643b398
Nov 26, 2024 8:16am 0 VERSION_BUMP 4c32c498