# uncrustify を Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, pacman, zypper, scoop でインストール

uncrustify のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:uncrustify
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install uncrustify
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install uncrustify
```

  証拠: MacPorts ports tree: devel/uncrustify/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add uncrustify
```

  証拠: Alpine Linux edge package indexes: uncrustify from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install uncrustify
```

  証拠: Debian stable package indexes: uncrustify from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install uncrustify
```

  証拠: Fedora Rawhide package metadata: uncrustify from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#uncrustify
```

  証拠: nixpkgs package indexes: pkgs/by-name/un/uncrustify/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S uncrustify
```

  証拠: Arch Linux sync databases: uncrustify from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install uncrustify
```

  証拠: openSUSE Tumbleweed package metadata: uncrustify from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Chocolatey (92%):

```sh
choco install uncrustify
```

  証拠: Chocolatey community package catalog: uncrustify from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','trafficlight-chrome'

- Scoop (92%):

```sh
scoop install main/uncrustify
```

  証拠: Scoop official bucket manifest trees: bucket/uncrustify.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:uncrustify
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.83.0
- **ソース概要:** Source code beautifier
- **ホームページ:** <https://uncrustify.sourceforge.net/>
- **リポジトリ:** <https://github.com/uncrustify/uncrustify>
- **最終更新:** 2026-05-17T07:55:06Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- uncrustify (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 0.83.0
## プロジェクトの歴史と使われ方

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.

### ソース

- <https://api.github.com/repos/uncrustify/uncrustify>
- <https://api.github.com/repos/uncrustify/uncrustify/git/commits/fe25b6d06401b0a523e15a896831720c488bd5ce>
- <https://github.com/uncrustify/uncrustify#readme>
- <https://raw.githubusercontent.com/uncrustify/uncrustify/master/ChangeLog>
- <https://uncrustify.sourceforge.net/>
- input.source_facts.package-manager


## セキュリティノート

uncrustify に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。



## 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

- Unix: ~/.uncrustify.cfg, ~/uncrustify.cfg
## 他のパッケージマネージャ記録

- Debian apt - uncrustify - 0.78.1+dfsg1-1: normalized package name match | Debian stable package indexes: uncrustify from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | C, C++, ObjectiveC, C#, D, Java, Pawn and VALA source code beautifier | https://github.com/uncrustify/uncrustify
- Nix - uncrustify: normalized package name match | nixpkgs package indexes: pkgs/by-name/un/uncrustify/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - uncrustify - 0.78.1+dfsg1-1: normalized package name match | Ubuntu 24.04 LTS package indexes: uncrustify from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | C, C++, ObjectiveC, C#, D, Java, Pawn and VALA source code beautifier | https://github.com/uncrustify/uncrustify
- apk - uncrustify - 0.83.0-r0: normalized package name match | Alpine Linux edge package indexes: uncrustify from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Source code beautifier | https://github.com/uncrustify/uncrustify
- apk - uncrustify-doc - 0.83.0-r0: normalized package name match | Alpine Linux edge package indexes: uncrustify-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Source code beautifier (documentation) | https://github.com/uncrustify/uncrustify
- dnf - uncrustify - 0.83.0-2.fc45: normalized package name match | Fedora Rawhide package metadata: uncrustify from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Reformat Source | https://uncrustify.sourceforge.net/
- pacman - uncrustify - 0.83.0-1: normalized package name match | Arch Linux sync databases: uncrustify from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A source code beautifier | https://github.com/uncrustify/uncrustify
- zypper - uncrustify - 0.82.0-1.5: normalized package name match | openSUSE Tumbleweed package metadata: uncrustify from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Source Code Beautifier for C, C++, C#, ObjectiveC, D | https://github.com/uncrustify/uncrustify
- MacPorts - uncrustify: normalized package name match | MacPorts ports tree: devel/uncrustify/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - uncrustify: normalized package name match | Chocolatey community package catalog: uncrustify from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','trafficlight-chrome'
- Scoop - main/uncrustify: normalized package name match | Scoop official bucket manifest trees: bucket/uncrustify.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/uncrustify.yml](https://github.com/mxcl/pkgdb/blob/main/combined/uncrustify.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
