# Install editorconfig-checker with Homebrew, apk, MacPorts, Nix, pacman, winget, zypper

Tool to verify that your files are in harmony with your .editorconfig. Version 3.8.0 via Homebrew; verified 2026-06-28.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install editorconfig-checker
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install editorconfig-checker
```

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

### Linux

- apk (92%):

```sh
sudo apk add editorconfig-checker
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#editorconfig-checker
```

  Evidence: nixpkgs package indexes: pkgs/by-name/ed/editorconfig-checker/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S editorconfig-checker
```

  Evidence: Arch Linux sync databases: editorconfig-checker from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install editorconfig-checker
```

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

### Windows

- winget (92%):

```sh
winget install --id EditorConfig-Checker.EditorConfig-Checker -e
```

  Evidence: Windows Package Manager source index: EditorConfig-Checker.EditorConfig-Checker from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:editorconfig-checker
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/editorconfig-checker>
- **Version:** 3.8.0
- **Source summary:** Tool to verify that your files are in harmony with your .editorconfig
- **Homepage:** <https://editorconfig-checker.github.io/>
- **Repository:** <https://github.com/editorconfig-checker/editorconfig-checker>
- **Upstream docs:** <https://github.com/editorconfig-checker/editorconfig-checker#readme>
- **License:** MIT
- **Source archive:** <https://github.com/editorconfig-checker/editorconfig-checker/archive/refs/tags/v3.8.0.tar.gz>
- **Last updated:** 2026-06-28T15:27:21Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- editorconfig-checker (cli)
- editorconfig-checker (alias)

## Build dependencies

- go

## 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-07-08
- Package-manager version: 3.8.0
- Package-manager updated: 2026-06-28
- Local data: ok
- Upstream repository: https://github.com/editorconfig-checker/editorconfig-checker
- Upstream latest detected: v3.8.0 (current)
## Project history and usage

editorconfig-checker is a small CI-friendly companion to EditorConfig: instead of teaching an editor how to apply a project's .editorconfig file, it checks the files in a tree and reports where they do not match the rules.

### Project history

The public GitHub repository was created in 2017 and describes the tool as a verifier for files against .editorconfig. Its README frames the project around the gap left by language-specific linters: one EditorConfig-aware checker can cover whitespace, line ending, final newline, indentation, maximum line length, and charset rules across a mixed repository.

The project is implemented as a standalone command-line tool and publishes prebuilt release archives. By the 3.x series it also documented Go installation, Docker use, Homebrew, Nix, Arch Linux packages, and language-specific wrappers for JavaScript/TypeScript, Python, and PHP ecosystems.

### Adoption history

Adoption has been mostly through automation and packaging rather than editor plugins. The README explicitly documents GitHub Actions-compatible output, Code Climate JSON output, GCC-style diagnostics, Docker execution, and package-manager installs, which made it fit naturally into CI jobs and pre-commit-style checks.

### How it is used

The common usage is to run editorconfig-checker at a repository root. With no file arguments it checks tracked text files, and with explicit file arguments it checks just those paths while still honoring configured excludes.

Configuration can be passed on the command line or read from .editorconfig-checker.json, with .ecrc retained as a deprecated name. The tool also has an init mode for creating a starting configuration.

### Why package nerds care

For package metadata, editorconfig-checker is interesting because it turns a cross-editor convention into an installable, headless validation tool. It is a natural dependency for distribution maintainers, CI images, and repositories that want formatting contracts without adopting a language-specific formatter.

### Timeline

- 2017: Public GitHub repository created.
- 2026: v3.8.0 published with README installation examples and release artifacts.

### Related projects

- Related projects include EditorConfig itself, editorconfig-core-c, and the npm, PyPI, and Composer wrappers listed by the checker README.

### Sources

- <https://github.com/editorconfig-checker/editorconfig-checker>
- <https://raw.githubusercontent.com/editorconfig-checker/editorconfig-checker/master/README.md>
- <https://api.github.com/repos/editorconfig-checker/editorconfig-checker>
- <https://github.com/editorconfig-checker/editorconfig-checker/releases/tag/v3.8.0>


## 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-checker.json
## Source Database Details

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

- Nix - editorconfig-checker: normalized package name match | nixpkgs package indexes: pkgs/by-name/ed/editorconfig-checker/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - editorconfig-checker - 3.0.3-r14: normalized package name match | Alpine Linux edge package indexes: editorconfig-checker from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A tool to verify that your files are in harmony with your .editorconfig | https://editorconfig-checker.github.io/
- pacman - editorconfig-checker - 3.7.0-1: normalized package name match | Arch Linux sync databases: editorconfig-checker from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A tool to verify that your files are in harmony with your .editorconfig | https://github.com/editorconfig-checker/editorconfig-checker
- zypper - editorconfig-checker - 3.7.0-1.1: normalized package name match | openSUSE Tumbleweed package metadata: editorconfig-checker from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Tool to verify that your files are in harmony with your .editorconfig | https://github.com/editorconfig-checker/editorconfig-checker
- MacPorts - editorconfig-checker: normalized package name match | MacPorts ports tree: devel/editorconfig-checker/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- winget - EditorConfig-Checker.EditorConfig-Checker: normalized package name match | Windows Package Manager source index: EditorConfig-Checker.EditorConfig-Checker from https://cdn.winget.microsoft.com/cache/source.msix


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [actionlint](https://www.automicvault.com/pkg/brew/actionlint/) - Shares av.db curated category or tags: ci, cli, developer-tools, linting.
- [bashate](https://www.automicvault.com/pkg/brew/bashate/) - Shares av.db curated category or tags: cli, developer-tools, linting, style-checker.
- [cpplint](https://www.automicvault.com/pkg/brew/cpplint/) - Shares av.db curated category or tags: cli, developer-tools, linting, style-checker.
- [golangci-lint](https://www.automicvault.com/pkg/brew/golangci-lint/) - Shares av.db curated category or tags: ci, cli, developer-tools, linting.
- [ls-lint](https://www.automicvault.com/pkg/brew/ls-lint/) - Shares av.db curated category or tags: ci, cli, developer-tools, linting.
- [markdownlint-cli](https://www.automicvault.com/pkg/brew/markdownlint-cli/) - Shares av.db curated category or tags: cli, developer-tools, linting, style-checker.
- [markdownlint-cli2](https://www.automicvault.com/pkg/brew/markdownlint-cli2/) - Shares av.db curated category or tags: cli, developer-tools, linting, style-checker.
- [bpmnlint](https://www.automicvault.com/pkg/brew/bpmnlint/) - Shares av.db curated category or tags: cli, developer-tools, linting.
- [editorconfig-checker](https://www.automicvault.com/pkg/npm/editorconfig-checker/) - Same normalized package name appears in another local ecosystem. Shared terms: are, checker, editorconfig, editorconfig-checker, files.
- [editorconfig-checker](https://www.automicvault.com/pkg/npm/editorconfig-checker/) - Same normalized package name in another local ecosystem.

## Combined YAML source

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


## Sources

- 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
