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

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/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-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/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-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','ubisoft-connect'

- 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
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/uncrustify>
- **バージョン:** 0.83.0
- **ソース概要:** Source code beautifier
- **ホームページ:** <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
- **生成日時:** 2026-07-08T18:08:21+00:00

## 実行可能ファイル

- uncrustify (cli)
- uncrustify (エイリアス)

## ビルド依存関係

- cmake

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-07-08
- マネージャ版: 0.83.0
- マネージャ更新日: 2026-05-17
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/uncrustify/uncrustify
- 検出された最新: uncrustify-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
## ソースデータベース詳細

- **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:** head, stable

## 他のパッケージマネージャ記録

- 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-1.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/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-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.3: normalized package name match | openSUSE Tumbleweed package metadata: uncrustify from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-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','ubisoft-connect'
- 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


## 関連リンク

- [Terminal utility packages](https://www.automicvault.com/ja/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/ja/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/ja/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Language runtime packages](https://www.automicvault.com/ja/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [cmake](https://www.automicvault.com/ja/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [astyle](https://www.automicvault.com/ja/pkg/brew/astyle/) - Shares av.db curated category or tags: c, cli, code-formatting, developer-tools, java.
- [bcpp](https://www.automicvault.com/ja/pkg/brew/bcpp/) - Shares av.db curated category or tags: beautifier, c, cli, cpp, developer-tools.
- [findent](https://www.automicvault.com/ja/pkg/brew/findent/) - Shares av.db curated category or tags: beautifier, cli, code-formatting, developer-tools.
- [google-java-format](https://www.automicvault.com/ja/pkg/brew/google-java-format/) - Shares av.db curated category or tags: cli, code-formatting, developer-tools, java.
- [perltidy](https://www.automicvault.com/ja/pkg/brew/perltidy/) - Shares av.db curated category or tags: beautifier, cli, code-formatting, developer-tools.
- [abi-dumper](https://www.automicvault.com/ja/pkg/brew/abi-dumper/) - Shares av.db curated category or tags: c, cli, cpp, developer-tools.
- [air](https://www.automicvault.com/ja/pkg/brew/air/) - Shares av.db curated category or tags: cli, code-formatting, developer-tools.
- [alejandra](https://www.automicvault.com/ja/pkg/brew/alejandra/) - Shares av.db curated category or tags: cli, code-formatting, developer-tools.
- [hindent](https://www.automicvault.com/ja/pkg/brew/hindent/) - Local package facts share a topical domain. Shared terms: cli, code, code-formatting, developer, developer-tools.

## Combined YAML source

View the package source record on GitHub. [combined/uncrustify.yml](https://github.com/automic-vault/db/blob/main/combined/uncrustify.yml)


## ソース

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
