AptLynx

Command-line tool

uncrustify

brew/uncrustify

Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev

Source code beautifier

At a glance

Type
Command-line tool
Install on
Windows, macOS, Linux
Last checked
25 Oct 2026, 21:09 UTC

Install it

Windows

scoop install uncrustify

macOS

brew install uncrustify

Linux

brew install uncrustify

Format a single file

uncrustify -f path/to/file.cpp -o path/to/output.cpp

Read filenames from `stdin`, and take backups before writing output back to the original filepaths

find . -name "*.cpp" | uncrustify -F - --replace

Don't make backups (useful if files are under version control)

find . -name "*.cpp" | uncrustify -F - --no-backup

Related command-line tools

Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents