Automic VaultAutomic Vault

brew

使用 Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, pacman, scoop, zypper 安装 uncrustify

查看 uncrustify 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install uncrustify

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install uncrustify

MacPorts ports tree · devel/uncrustify/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add uncrustify

Alpine Linux edge package indexes · uncrustify · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install uncrustify

Debian stable package indexes · uncrustify · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install uncrustify

Fedora Rawhide package metadata · uncrustify · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#uncrustify

nixpkgs package indexes · pkgs/by-name/un/uncrustify/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S uncrustify

Arch Linux sync databases · uncrustify · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install uncrustify

openSUSE Tumbleweed package metadata · uncrustify · 来源: download.opensuse.org

Windows

Chocolatey已验证 · 92%
choco install uncrustify

Chocolatey community package catalog · uncrustify · 来源: community.chocolatey.org

Scoop已验证 · 92%
scoop install main/uncrustify

Scoop official bucket manifest trees · bucket/uncrustify.json · 来源: api.github.com

概览

软件包摘要

Source code beautifier

命令和别名

  • uncrustify

历史

项目历史与用法

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.

时间线

  • 2009: GitHub repository created from an imported Subversion history.
  • Release 0.54: Official homepage says source maintenance moved to Git.
  • 2024-2026: ChangeLog entries show continued option-level formatter development.
  • 2026: Version 0.83.0 documentation reports 901 configurable options.

Related projects

  • Universal Indent GUI is linked by the official homepage as a configuration editor that supports Uncrustify.
  • The README positions Uncrustify among source beautifiers for C-like languages, with examples centered on C-style formatting, Objective-C support, Java testing, and embedded SQL.

安全态势

尚未找到受保护工具覆盖

没有找到 uncrustify 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • 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
~/.uncrustify.cfg~/uncrustify.cfg

可执行文件

已安装的可执行文件

命令类型暴露范围备注
uncrustifycli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-07
管理器版本0.83.0
管理器更新时间2026-05-17
本地数据OK
上游当前
检测到的最新版本uncrustify-0.83.0

https://github.com/uncrustify/uncrustify

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键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
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 Nameuncrustify
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%

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 uncrustify
  • Section: devel
  • Architecture: amd64
  • 3 依赖
  • normalized package name match
  • 匹配方式:Uncrustify
Debian stable package indexes · deb.debian.org · Debian stable package indexes: uncrustify from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

uncrustify

nix profile install nixpkgs#uncrustify
  • normalized package name match
  • 匹配方式:Uncrustify
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/un/uncrustify/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

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 uncrustify
  • Section: universe/devel
  • Architecture: amd64
  • 3 依赖
  • normalized package name match
  • 匹配方式:Uncrustify
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: uncrustify from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

uncrustify 0.83.0-r0

Source code beautifier

https://github.com/uncrustify/uncrustify

sudo apk add uncrustify
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: uncrustify
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Uncrustify
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: uncrustify from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

uncrustify-doc 0.83.0-r0

Source code beautifier (documentation)

https://github.com/uncrustify/uncrustify

sudo apk add uncrustify-doc
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: uncrustify
  • normalized package name match
  • 匹配方式:Uncrustify
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: uncrustify-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

uncrustify 0.83.0-1.fc45

Reformat Source

https://uncrustify.sourceforge.net/

sudo dnf install uncrustify
  • License: GPL-2.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: uncrustify
  • 4 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Uncrustify
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: uncrustify from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

uncrustify 0.83.0-1

A source code beautifier

https://github.com/uncrustify/uncrustify

sudo pacman -S uncrustify
  • License: GPL-2.0-only
  • Architecture: x86_64
  • 3 依赖
  • normalized package name match
  • 匹配方式:Uncrustify
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: uncrustify from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

uncrustify 0.82.0-1.3

Source Code Beautifier for C, C++, C#, ObjectiveC, D

https://github.com/uncrustify/uncrustify

sudo zypper install uncrustify
  • License: GPL-2.0-or-later
  • Category: Development/Languages/C and C++
  • Architecture: x86_64
  • Source Package: uncrustify
  • 3 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Uncrustify
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: uncrustify from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

uncrustify

sudo port install uncrustify
  • normalized package name match
  • 匹配方式:Uncrustify
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/uncrustify/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Chocolatey95%

uncrustify

choco install uncrustify
  • normalized package name match
  • 匹配方式:Uncrustify
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: uncrustify from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','ubisoft-connect'
Scoop95%

main/uncrustify

scoop install main/uncrustify
  • normalized package name match
  • 匹配方式:Uncrustify
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/uncrustify.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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