# Install hawkeye with Homebrew, Nix, pacman

Simple license header checker and formatter, in multiple distribution forms. Version 6.5.1 via Homebrew; verified from local package data. Also installable with nix: nix profile install nixpkgs#hawkeye.

## Install

```sh
sudo av install brew:hawkeye
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install hawkeye
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#hawkeye
```

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

- pacman (92%):

```sh
sudo pacman -S hawkeye
```

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

## Package facts

- **Package key:** brew:hawkeye
- **Package manager:** Homebrew
- **Version:** 6.5.1
- **Source summary:** Simple license header checker and formatter, in multiple distribution forms
- **Homepage:** <https://github.com/korandoru/hawkeye>
- **Repository:** <https://github.com/korandoru/hawkeye>
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- hawkeye (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 6.5.1
## Project history and usage

HawkEye is a Rust command-line tool and GitHub Action for checking, formatting, and removing license headers in source trees. Its package history is centered on supply-chain hygiene: it packages a repetitive repository-maintenance task as a local CLI, container image, prebuilt binary, Cargo install, and CI action.

### Project history

The public GitHub repository was created in January 2023 under the korandoru organization. The README describes the project as a simple license header checker and formatter, with a project-level licenserc.toml configuration file and commands for check, format, and remove workflows.

The project presents itself less as a general license scanner and more as a formatter for copyright/license header policy. Its native-image and prebuilt-binary distribution options fit teams that want fast CI checks without provisioning a full language toolchain.

### Adoption history

The README documents several distribution paths: a GitHub Action, a Docker image, Cargo installation, Arch Linux packaging, and prebuilt release installers. Homebrew, Nix, and pacman packaging in the input facts show adoption by Unix-oriented package ecosystems beyond the upstream release channel.

### How it is used

Typical use is to add a licenserc.toml file at a repository root, run hawkeye check in CI, and use hawkeye format when files need an automatic header fix. The same executable can also remove headers, which makes it useful for migrations between license-header policies.

### Why package nerds care

HawkEye matters to package-maintenance workflows because license headers are a common release-review nuisance: too small to deserve a bespoke framework, but common enough to fail CI and release audits. A single static-feeling CLI with GitHub Action support is the useful boring shape for that job.

### Timeline

- 2023: Public GitHub repository created.
- 2023: README-documented licenserc.toml workflow uses 2023 as the example inception year.
- 2020s: Distribution expands across Cargo, prebuilt binaries, Docker, GitHub Actions, and downstream package managers.

### Related projects

- Related tools include license scanners and formatters used in CI, but HawkEye's closest practical peers are repository policy tools that enforce source-header conventions rather than dependency-license inventories.

### Sources

- <https://api.github.com/repos/korandoru/hawkeye>
- <https://github.com/korandoru/hawkeye>
- <https://raw.githubusercontent.com/korandoru/hawkeye/main/README.md>


## 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: ./licenserc.toml
- Windows: .\licenserc.toml
## Other Package-Manager Records

- Nix - hawkeye: normalized package name match | nixpkgs package indexes: pkgs/by-name/ha/hawkeye/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- pacman - hawkeye - 6.5.1-1: normalized package name match | Arch Linux sync databases: hawkeye from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Simple license header checker and formatter | https://github.com/korandoru/hawkeye


## Combined YAML source

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


## Sources

- 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
