# Install karn with Homebrew

Manage multiple Git identities. Version 0.1.0 via Homebrew; verified 2026-06-18.

## Install

```sh
sudo av install brew:karn
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install karn
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:karn
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/karn>
- **Version:** 0.1.0
- **Source summary:** Manage multiple Git identities
- **Homepage:** <https://github.com/prydonius/karn>
- **Repository:** <https://github.com/prydonius/karn>
- **Upstream docs:** <https://github.com/prydonius/karn#readme>
- **License:** MIT
- **Source archive:** <https://github.com/prydonius/karn/archive/refs/tags/v0.1.0.tar.gz>
- **Last updated:** 2026-06-18T09:25:52+09:00
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- karn (cli)
- karn (alias)

## Build dependencies

- go

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.1.0
- Package-manager updated: 2026-06-18
- Local data: ok
- Upstream repository: https://github.com/prydonius/karn
- Upstream latest detected: v0.1.0 (current)
## Project history and usage

karn is a small Git identity helper for developers who use different user.name and user.email values across personal, work, and open-source repositories.

### Project history

The project began as a Go command-line tool in March 2015. Its README describes the core behavior: karn checks a directory tree, compares it with a user configuration, and updates only a repository's local Git identity rather than the global Git configuration.

The release series stayed intentionally narrow. The v0.0.1 release was tagged from the initial implementation, and v0.1.0 in February 2021 added support for GPG signing keys.

### Adoption history

karn reached package-manager visibility through Homebrew and the Arch User Repository, which fits its audience: developers who want a shell-friendly way to keep Git identities separated without remembering per-repository commands.

### How it is used

Typical use is to keep identity rules in ~/.karn.yml, then run karn manually or wrap Git commands so karn update runs before Git operations.

### Why package nerds care

karn is a tidy example of a package-manager-sized developer convenience: a tiny binary, a dotfile, and a focused fix for a workflow footgun that Git itself leaves to local config discipline.

### Timeline

- 2015-03-28: Initial commit for the Go implementation
- 2015-03-29: v0.0.1 release
- 2021-02-12: v0.1.0 release work added GPG signing-key support

### Related projects

- Git local configuration, shell Git wrappers, and other per-repository identity helpers solve adjacent problems.

### Sources

- <https://formulae.brew.sh/formula/karn>
- <https://github.com/prydonius/karn>
- <https://github.com/prydonius/karn/commit/4d49400ffccd398cb3226a690102d58aeef26d93.patch>
- <https://github.com/prydonius/karn/commit/884cdbe20b0aed1e8f3c4d0df8f76a58a5b72f55.patch>
- <https://github.com/prydonius/karn/releases/tag/v0.0.1>
- <https://github.com/prydonius/karn/releases/tag/v0.1.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: ~/.karn.yml
## Source Database Details

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


## 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.
- [gitnr](https://www.automicvault.com/pkg/brew/gitnr/) - Shares av.db curated category or tags: cli, developer-tool, developer-tools, git, version-control.
- [gource](https://www.automicvault.com/pkg/brew/gource/) - Shares av.db curated category or tags: cli, developer-tool, developer-tools, git, version-control.
- [grokmirror](https://www.automicvault.com/pkg/brew/grokmirror/) - Shares av.db curated category or tags: cli, developer-tool, developer-tools, git, version-control.
- [lucky-commit](https://www.automicvault.com/pkg/brew/lucky-commit/) - Shares av.db curated category or tags: cli, developer-tool, developer-tools, git, version-control.
- [ugit](https://www.automicvault.com/pkg/brew/ugit/) - Shares av.db curated category or tags: cli, developer-tool, developer-tools, git, version-control.
- [aicommit](https://www.automicvault.com/pkg/brew/aicommit/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [aicommit2](https://www.automicvault.com/pkg/brew/aicommit2/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [aicommits](https://www.automicvault.com/pkg/brew/aicommits/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [git-get](https://www.automicvault.com/pkg/brew/git-get/) - Local package facts share a topical domain. Shared terms: cli, control, developer, developer-tools, git.
- [git-workspace](https://www.automicvault.com/pkg/brew/git-workspace/) - Local package facts share a topical domain. Shared terms: cli, control, developer, developer-tools, git.

## Combined YAML source

View the package source record on GitHub. [combined/karn.yml](https://github.com/automic-vault/db/blob/main/combined/karn.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
- cross-ecosystem install command graph
