# gnu-indent mit Homebrew, MacPorts installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für gnu-indent in AI-Agent-Workflows.

## Installation

```sh
sudo av install brew:gnu-indent
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install gnu-indent
```

  Evidenz: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install gindent
```

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

## Paketfakten

- **Paketschlüssel:** brew:gnu-indent
- **Paketmanager:** Homebrew
- **Version:** 2.2.13
- **Quellzusammenfassung:** C code prettifier
- **Homepage:** <https://www.gnu.org/software/indent/>
- **Generiert:** 2026-08-03T19:37:03+00:00

## Executables

- gindent (Alias)

## Installationsverhalten

- Bottle: nicht verfügbar

## Version und Aktualität

- Seite generiert: 2026-08-03
- Manager-Version: 2.2.13
## Projektgeschichte und Nutzung

GNU indent is the GNU Project's C source formatter, a command-line tool for changing whitespace and layout without changing program meaning. Its manual describes it as a formatter for C programs that can make code easier to read and convert between styles.

### Projektgeschichte

The GNU manual records Free Software Foundation copyright years beginning in 1989 and describes behavioral changes across early GNU indent releases, including GNU-style indentation as the default from version 1.2 and a revised command format from version 1.3. The formatter retained compatibility concepts from older indent implementations, including an option preset for the original Berkeley style, while making GNU style a first-class default.

### Adoptionsgeschichte

GNU indent became part of the long-lived GNU command-line toolchain for projects that wanted reproducible C formatting before newer formatters became widespread. Its homepage points users to GNU mirrors, Savannah development, Info and man documentation, and the GNU bug-tracking workflow, placing it in the same distribution culture as other standalone GNU utilities.

### Wie es verwendet wird

Practitioners use GNU indent to reformat C source files, write formatted output to a separate file or standard output, and select known style presets such as GNU, K&R, Berkeley, or Linux. It also supports a profile file mechanism, so teams or individual developers can keep repeated formatting options outside the command line.

### Warum Paket-Nerds sich dafür interessieren

For package maintainers, GNU indent is a small but characteristic GNU utility: mostly invoked as a build or maintenance tool, sensitive to C dialect details, and useful when a project wants GNU formatting behavior rather than the indent variant supplied by another Unix.

### Zeitleiste

- 1989: GNU indent manual copyright history begins in the Free Software Foundation manual.
- Version 1.2: GNU style became the default indentation style.
- Version 1.3: GNU indent adopted the command forms documented in later manuals.
- 2023: Release notes for version 2.2.13 describe fixes and translation updates.

### Related projects

- GNU indent belongs to the family of Unix source-formatting tools and is often compared with BSD indent and newer C-family formatters such as clang-format.

### Quellen

- <https://git.savannah.gnu.org/cgit/indent.git/plain/NEWS>
- <https://www.gnu.org/software/indent/>
- <https://www.gnu.org/software/indent/manual/indent.html>


## Sicherheitshinweise

narrow executable package without higher-risk signals.

- **Geiger-Risiko:** grün / niedrig
- narrow executable package without higher-risk signals

## Andere Paketmanager-Einträge

- MacPorts - gindent: installed executable or alias match | MacPorts ports tree: devel/gindent/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

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


## Quellen

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