macOS
brew install uncrustifylocal Homebrew formula metadata
sudo port install uncrustifyMacPorts ports tree · devel/uncrustify/Portfile · 来源: api.github.com
安装
brew install uncrustifylocal Homebrew formula metadata
sudo port install uncrustifyMacPorts ports tree · devel/uncrustify/Portfile · 来源: api.github.com
sudo apk add uncrustifyAlpine Linux edge package indexes · uncrustify · 来源: dl-cdn.alpinelinux.org
sudo apt install uncrustifyDebian stable package indexes · uncrustify · 来源: deb.debian.org
sudo dnf install uncrustifyFedora Rawhide package metadata · uncrustify · 来源: dl.fedoraproject.org
nix profile install nixpkgs#uncrustifynixpkgs package indexes · pkgs/by-name/un/uncrustify/package.nix · 来源: api.github.com
sudo pacman -S uncrustifyArch Linux sync databases · uncrustify · 来源: geo.mirror.pkgbuild.com
sudo zypper install uncrustifyopenSUSE Tumbleweed package metadata · uncrustify · 来源: download.opensuse.org
choco install uncrustifyChocolatey community package catalog · uncrustify · 来源: community.chocolatey.org
scoop install main/uncrustifyScoop official bucket manifest trees · bucket/uncrustify.json · 来源: api.github.com
概览
Source code beautifier
历史
Uncrustify is a long-running source-code beautifier for C-like languages. Its official homepage describes the project goal as a highly configurable and easily modifiable formatter, and the current README lists support for C, C++, C#, Objective-C, D, Java, Pawn, and Vala.
The public GitHub repository was created in October 2009 from an imported Subversion history, and the homepage notes that, as of release 0.54, the source code was maintained in Git. That migration matters historically because Uncrustify belongs to the older generation of standalone command-line formatters that predate the now-common language-server and editor-integrated formatter era.
Uncrustify's development has centered on breadth of formatting knobs rather than a single canonical style. The README says version 0.83.0 has 901 configurable options, and the upstream ChangeLog for 0.83.0 continues to add alignment, spacing, newline, and C++ syntax-related options. In package terms, that makes Uncrustify attractive where teams need a formatter that can imitate an existing house style instead of enforcing a new one.
The official homepage explicitly listed distribution packaging for Debian, Fedora, ALT Linux, T2, MacPorts, FreeBSD Ports, and OpenBSD Ports, and the supplied package facts show later availability across Homebrew, Debian/Ubuntu, Fedora/DNF, Arch, MacPorts, Nix, Scoop, Chocolatey, Alpine, and openSUSE. That breadth reflects the tool's normal role as a packaged CLI dependency rather than an application users build manually.
The project also had a GUI-adjacent ecosystem: the official homepage links Universal Indent GUI as a cross-platform configuration editor for many beautifiers, including Uncrustify. That helped make its unusually large configuration surface usable for developers comparing or tuning formatter output.
Uncrustify is normally used by passing a configuration file and one or more source files to the CLI. The README and homepage emphasize examples of a default configuration, before/after C examples, and the `--show-config` output, while the contributor notes describe testing formatter behavior with configuration/input/expected-output triples.
The README's debugging section shows typical formatter-maintainer usage: run Uncrustify with a config and source file, request parse/debug output, and inspect intermediate logs. This underlines that package users care about both the executable and the shipped examples/configuration reference.
For package maintainers, Uncrustify is a classic formatter formula: a single CLI, CMake-based builds, no credentials, and value that comes from reproducible formatting in build hooks, editor integrations, and CI checks. Its many packaging targets make it useful when a project wants the same formatter version across Linux, macOS, and Windows developer machines.
The main packaging caveat is behavioral compatibility. Because the project continually adds, removes, and renames configuration options, packages and downstream CI images often care about pinning versions so that a formatting job does not rewrite unrelated code after an upgrade.
安全态势
没有找到 uncrustify 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
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.
~/.uncrustify.cfg~/uncrustify.cfg可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
uncrustify | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/uncrustify/uncrustify
安装元数据
| 软件包键 | brew:uncrustify |
|---|---|
| 版本 | 0.83.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/uncrustify |
| 主页 | https://uncrustify.sourceforge.net/ |
| 仓库 | https://github.com/uncrustify/uncrustify |
| 上游文档 | https://github.com/uncrustify/uncrustify#readme |
| 许可证 | GPL-2.0-or-later |
| 源码归档 | https://github.com/uncrustify/uncrustify/archive/refs/tags/uncrustify-0.83.0.tar.gz |
| 最后更新 | 2026-05-17T07:55:06Z |
| 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 | uncrustify |
| 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 软件包链接分开显示。
uncrustify 0.78.1+dfsg1-1
C, C++, ObjectiveC, C#, D, Java, Pawn and VALA source code beautifier
https://github.com/uncrustify/uncrustify
sudo apt install uncrustifyuncrustify
nix profile install nixpkgs#uncrustifyuncrustify 0.78.1+dfsg1-1
C, C++, ObjectiveC, C#, D, Java, Pawn and VALA source code beautifier
https://github.com/uncrustify/uncrustify
sudo apt install uncrustifyuncrustify 0.83.0-r0
Source code beautifier
https://github.com/uncrustify/uncrustify
sudo apk add uncrustifyuncrustify-doc 0.83.0-r0
Source code beautifier (documentation)
https://github.com/uncrustify/uncrustify
sudo apk add uncrustify-docuncrustify 0.83.0-1.fc45
Reformat Source
https://uncrustify.sourceforge.net/
sudo dnf install uncrustifyuncrustify 0.83.0-1
A source code beautifier
https://github.com/uncrustify/uncrustify
sudo pacman -S uncrustifyuncrustify 0.82.0-1.3
Source Code Beautifier for C, C++, C#, ObjectiveC, D
https://github.com/uncrustify/uncrustify
sudo zypper install uncrustifyuncrustify
sudo port install uncrustifyuncrustify
choco install uncrustifymain/uncrustify
scoop install main/uncrustify来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.