# Install editorconfig with Homebrew, apk, apt, dnf, zypper, scoop

Maintain consistent coding style between multiple editors. Version 0.12.11 via Homebrew; verified from local package data. Also installable with debian: sudo apt install editorconfig.

## Install

```sh
sudo av install brew:editorconfig
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install editorconfig
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add editorconfig
```

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

- Debian apt (92%):

```sh
sudo apt install editorconfig
```

  Evidence: Debian stable package indexes: editorconfig from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install editorconfig
```

  Evidence: Fedora Rawhide package metadata: editorconfig from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- zypper (92%):

```sh
sudo zypper install editorconfig
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/editorconfig
```

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

## Package facts

- **Package key:** brew:editorconfig
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/editorconfig>
- **Version:** 0.12.11
- **Source summary:** Maintain consistent coding style between multiple editors
- **Homepage:** <https://editorconfig.org/>
- **Repository:** <https://github.com/editorconfig/editorconfig-core-c>
- **Upstream docs:** <https://editorconfig.org/>
- **License:** BSD-2-Clause
- **Source archive:** <https://github.com/editorconfig/editorconfig-core-c/archive/refs/tags/v0.12.11.tar.gz>
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- editorconfig (cli)
- editorconfig-0.12.11 (cli)
- editorconfig (alias)
- editorconfig-0.12.11 (alias)

## Dependencies

- pcre2

## Build dependencies

- cmake

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 0.12.11
- Local data: ok
- Upstream repository: https://github.com/editorconfig/editorconfig-core-c
- Upstream latest detected: v0.12.11 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

EditorConfig is a cross-editor coding-style convention built around one plain text file named .editorconfig. Its package-manager identity is the command-line C core, but its cultural footprint is broader: a file format, a formal spec, core parsers, and editor integrations.

### Project history

The EditorConfig site describes the project as both a file format and a collection of editor plugins for maintaining consistent coding styles across editors and IDEs. The site repository was created in 2011, and the C core repository followed in 2012 as reusable parser and locator code for integrations.

The editorconfig-core-c README explains why the C core exists: plugin authors can share file location, INI parsing, and glob matching behavior instead of repeating that logic in every editor integration. The command-line program accepts a filename, searches for applicable .editorconfig files, and outputs the matching properties.

The formal specification later separated the format contract from individual implementations, giving package maintainers and editor authors a stable target for behavior such as section globbing, root=true search termination, supported properties, and value parsing.

### Adoption history

EditorConfig spread through both plugin ecosystems and native editor support. The official site distinguishes editors that need plugins from editors where no plugin is necessary, and it lists a wide range of IDEs, source hosts, and editors with built-in or installable support.

The format also became common in version-controlled source trees because it is intentionally readable, language-neutral, and stored beside the project code. That let teams encode indentation, line endings, final newline policy, charset, and trimming rules without requiring everyone to use the same editor.

### How it is used

Users place a .editorconfig file in a project directory. Plugins search from the opened file upward, stop at filesystem root or a file with root=true, and apply matching sections in order so closer files can override parent settings.

The Homebrew package exposes the editorconfig CLI from editorconfig-core-c. That makes the same convention useful outside editors, including scripts, plugin development, and diagnostic checks.

### Why package nerds care

EditorConfig is package-nerd-important because it is one of the few dotfile formats that functions as shared social infrastructure across languages, editors, IDEs, and source hosts. A tiny INI-like file reduces editor wars to a portable contract.

Its C core is also a good example of the Unix packaging pattern where a broader standard ships as a small CLI and library, letting distributions package the reference behavior while editor and tooling ecosystems build on top.

### Timeline

- 2011: Official website repository created.
- 2012: editorconfig-core-c repository created for the C core library and CLI.
- 2014: EditorConfig Core 0.11.0 adds brace expansion support, as noted in the official file-format documentation.
- 2026: editorconfig-core-c v0.12.11 published.

### Related projects

- Related official projects include the EditorConfig website, the formal spec, editorconfig-core-c, editor plugins listed on editorconfig.org, and headless-tool integrations for build systems.

### Sources

- <https://editorconfig.org/>
- <https://spec.editorconfig.org/>
- <https://docs.editorconfig.org/>
- <https://github.com/editorconfig/editorconfig-core-c>
- <https://raw.githubusercontent.com/editorconfig/editorconfig-core-c/master/README.md>
- <https://api.github.com/repos/editorconfig/editorconfig.github.com>
- <https://api.github.com/repos/editorconfig/editorconfig-core-c>
- <https://github.com/editorconfig/editorconfig-core-c/releases/tag/v0.12.11>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals


## 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: .editorconfig
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** editorconfig
- **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

## Other Package-Manager Records

- Debian apt - editorconfig - 0.12.9+~0.17.1-1: normalized package name match | Debian stable package indexes: editorconfig from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | coding style indenter for all editors - commandline tools | https://editorconfig.org/
- Ubuntu apt - editorconfig - 0.12.7-0.1: normalized package name match | Ubuntu 24.04 LTS package indexes: editorconfig from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | coding style indenter for all editors - commandline tools | https://editorconfig.org/
- apk - editorconfig - 0.12.11-r0: normalized package name match | Alpine Linux edge package indexes: editorconfig from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | core library written in C for use by plugins supporting EditorConfig parsing | https://github.com/editorconfig/editorconfig-core-c
- apk - editorconfig-dev - 0.12.11-r0: normalized package name match | Alpine Linux edge package indexes: editorconfig-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | core library written in C for use by plugins supporting EditorConfig parsing (development files) | https://github.com/editorconfig/editorconfig-core-c
- apk - editorconfig-static - 0.12.11-r0: normalized package name match | Alpine Linux edge package indexes: editorconfig-static from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | core library written in C for use by plugins supporting EditorConfig parsing (static library) | https://github.com/editorconfig/editorconfig-core-c
- apk - libeditorconfig - 0.12.11-r0: normalized package name match | Alpine Linux edge package indexes: libeditorconfig from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | core library written in C for use by plugins supporting EditorConfig parsing (libraries) | https://github.com/editorconfig/editorconfig-core-c
- dnf - editorconfig - 0.12.11-2.fc45: normalized package name match | Fedora Rawhide package metadata: editorconfig from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Parser for EditorConfig files written in C | https://github.com/editorconfig/editorconfig-core-c
- dnf - editorconfig-devel - 0.12.11-2.fc45: normalized package name match | Fedora Rawhide package metadata: editorconfig-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Parser library for EditorConfig files (development files) | https://github.com/editorconfig/editorconfig-core-c
- dnf - editorconfig-libs - 0.12.11-2.fc45: normalized package name match | Fedora Rawhide package metadata: editorconfig-libs from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Parser library for EditorConfig files (shared library) | https://github.com/editorconfig/editorconfig-core-c
- zypper - editorconfig - 0.12.11-1.3: normalized package name match | openSUSE Tumbleweed package metadata: editorconfig from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Commandline utilities for EditorConfig | https://editorconfig.org/
- Scoop - main/editorconfig: normalized package name match | Scoop official bucket manifest trees: bucket/editorconfig.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Related links

- [Terminal utility packages](https://pkg.so/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://pkg.so/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [pcre2](https://pkg.so/brew/pcre2/) - Runtime dependency declared by Homebrew.
- [cmake](https://pkg.so/brew/cmake/) - Build dependency declared by Homebrew.
- [gnome-builder](https://pkg.so/brew/gnome-builder/) - Popular package that depends on this formula.
- [butane](https://pkg.so/brew/butane/) - Shares pkgdb curated category or tags: cli, configuration, developer-tools.
- [config-file-validator](https://pkg.so/brew/config-file-validator/) - Shares pkgdb curated category or tags: cli, configuration, developer-tools.
- [dynaconf](https://pkg.so/brew/dynaconf/) - Shares pkgdb curated category or tags: cli, configuration, developer-tools.
- [dhall-json](https://pkg.so/brew/dhall-json/) - Shares pkgdb curated category or tags: cli, configuration, developer-tools.
- [json2hcl](https://pkg.so/brew/json2hcl/) - Shares pkgdb curated category or tags: cli, configuration, developer-tools.
- [libucl](https://pkg.so/brew/libucl/) - Shares pkgdb curated category or tags: cli, configuration, developer-tools.
- [dhall-bash](https://pkg.so/brew/dhall-bash/) - Shares pkgdb curated category or tags: cli, configuration, developer-tools.
- [setconf](https://pkg.so/brew/setconf/) - Shares pkgdb curated category or tags: cli, configuration, developer-tools.
- [editorconfig](https://pkg.so/npm/editorconfig/) - Same normalized package name appears in another local ecosystem. Shared terms: cli, developer, developer-tools, editorconfig.
- [editorconfig-checker](https://pkg.so/brew/editorconfig-checker/) - Package names and metadata indicate a similar tool family. Shared terms: cli, developer, developer-tools, editorconfig, formatting.
- [mle](https://pkg.so/brew/mle/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, editor, editors.
- [editorconfig](https://pkg.so/npm/editorconfig/) - Same normalized package name in another local ecosystem.

## Combined YAML source

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


## Sources

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