Automic VaultAutomic Vault

brew

Install karn with Homebrew

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

install

Additional install commands

macOS

Homebrewverified · 100%
brew install karn

local Homebrew formula metadata

overview

Package summary

Manage multiple Git identities

Commands and aliases

  • karn

history

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.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 12 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

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

Config paths the tool may read or write during local use.

Unix
~/.karn.yml

executables

Installed executables

CommandKindExposureNote
karncliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version0.1.0
manager updated2026-06-18
local dataok
upstreamcurrent
latest detectedv0.1.0

https://github.com/prydonius/karn

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:karn
Version0.1.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/karn
Homepagehttps://github.com/prydonius/karn
Repositoryhttps://github.com/prydonius/karn
Upstream docshttps://github.com/prydonius/karn#readme
LicenseMIT
Source archivehttps://github.com/prydonius/karn/archive/refs/tags/v0.1.0.tar.gz
Last updated2026-06-18T09:25:52+09:00
Pulseupdated
Build dependenciesgo
Bottleavailable (on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namekarn
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment