# khard を Homebrew, apk, apt, dnf, Nix, pacman でインストール

khard のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:khard
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install khard
```

  証拠: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add khard
```

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

- Debian apt (92%):

```sh
sudo apt install khard
```

  証拠: Debian stable package indexes: khard from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install khard
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#khard
```

  証拠: nixpkgs package indexes: pkgs/by-name/kh/khard/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S khard
```

  証拠: Arch Linux sync databases: khard from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## パッケージ情報

- **パッケージキー:** brew:khard
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/khard>
- **バージョン:** 0.21.0
- **ソース概要:** Console carddav client
- **ホームページ:** <https://khard.readthedocs.io/en/latest/>
- **上流ドキュメント:** <https://khard.readthedocs.io/en/latest/>
- **ライセンス:** GPL-3.0-only
- **ソースアーカイブ:** <https://files.pythonhosted.org/packages/8f/47/e31cf968dbbba341887dd33bb84fd1ecba737bc762a5149c9c673f1ab6da/khard-0.21.0.tar.gz>
- **最終更新:** 2026-06-16T20:11:18Z
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- khard (cli)
- khard (エイリアス)

## 依存関係

- python@3.14

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 all

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 0.21.0
- マネージャ更新日: 2026-06-16
- ローカルデータ: OK
- 上流リポジトリ: https://khard.readthedocs.io/en/latest/
- 情報: Release/tag comparison is only available for GitHub repositories.
## プロジェクトの歴史と使われ方

khard is a Unix-console address book for local vCard files. It reads, creates, modifies, and removes contacts, and is designed to cooperate with mail clients, text editors, vdir synchronizers, and VOIP clients.

### プロジェクトの歴史

The upstream changelog records khard 0.1.0 on September 18, 2014 as the initial release. Early releases added a new project structure, Twinkle integration, alot support, nickname and web/contact fields, mutt-oriented email workflows, XDG_CONFIG_HOME support, YAML contact templates, and safer writes.

khard 0.11.0 on July 17, 2016 made the project Python 3 compatible and improved vCard 3.0 and 4.0 support. Later releases added generated documentation and man pages, stricter config validation, query syntax, pyproject-based packaging, and in version 0.18.0 on December 10, 2022 moved the project home on GitHub from the original scheibler namespace to lucc.

### 採用の歴史

khard grew in the same terminal PIM ecosystem as khal and vdirsyncer. Its README says it is packaged for multiple distributions and published on PyPI, and the batch metadata records packages for Alpine, Homebrew, Debian, Fedora, Nix, Arch, and Ubuntu.

The project was started by Eric Scheibler and later maintained by lucc, with multiple contributors over the years. That maintainer transition and the long changelog show a small but durable utility rather than a one-off script.

### 使われ方

Users keep vCard files in local address-book directories, often synchronized from CardDAV by vdirsyncer, then use khard to list, search, show, edit, create, remove, and query contacts. It is commonly wired into mail-client address completion, especially mutt-style workflows.

### パッケージ好きにとっての重要性

khard is significant as a packageable bridge between standards-based contact data and shell workflows. It turns vCard/CardDAV address books into files and CLI subcommands that can be composed with editors, mail clients, synchronizers, and dotfile-managed configuration.

### タイムライン

- 2014-09-18: khard 0.1.0 initial release.
- 2015-09-05: khard 0.5.0 added merge support and XDG_CONFIG_HOME support.
- 2016-07-17: khard 0.11.0 made the project Python 3 compatible and enhanced vCard 3.0 and 4.0 support.
- 2020-04-04: khard 0.16.0 expanded documentation and built docs on Read the Docs.
- 2022-12-10: khard 0.18.0 moved the project home on GitHub from scheibler to lucc.
- 2026-06-15: khard 0.21.0 removed Python 3.9 support and fixed config skip_unparsable handling.

### Related projects

- vdirsyncer is the common synchronization companion. khal is the related console calendar program, while mutt, alot, and Twinkle are explicitly documented integration targets.

### ソース

- <https://formulae.brew.sh/formula/khard>
- <https://github.com/lucc/khard>
- <https://khard.readthedocs.io/en/latest>
- <https://raw.githubusercontent.com/lucc/khard/main/CHANGES>
- <https://raw.githubusercontent.com/lucc/khard/main/README.md>


## セキュリティノート

broad file, network, media, or database tool signal.

- **Geiger リスク:** blue / 中
- broad file, network, media, or database tool signal


## 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: $XDG_CONFIG_HOME/khard/khard.conf, ~/.config/khard/khard.conf
## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** khard
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## 他のパッケージマネージャ記録

- Debian apt - khard - 0.19.1-5: normalized package name match | Debian stable package indexes: khard from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | address book for the Linux console | https://github.com/scheibler/khard
- Nix - khard: normalized package name match | nixpkgs package indexes: pkgs/by-name/kh/khard/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - khard - 0.19.1-2ubuntu1: normalized package name match | Ubuntu 24.04 LTS package indexes: khard from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | address book for the Linux console | https://github.com/scheibler/khard
- apk - khard - 0.21.0-r0: normalized package name match | Alpine Linux edge package indexes: khard from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Console CardDAV client | https://github.com/lucc/khard
- apk - khard-doc - 0.21.0-r0: normalized package name match | Alpine Linux edge package indexes: khard-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Console CardDAV client (documentation) | https://github.com/lucc/khard
- apk - khard-pyc - 0.21.0-r0: normalized package name match | Alpine Linux edge package indexes: khard-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Precompiled Python bytecode for khard | https://github.com/lucc/khard
- dnf - khard - 0.20.0-7.fc45: normalized package name match | Fedora Rawhide package metadata: khard from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | An address book for the Linux console | https://github.com/scheibler/khard
- pacman - khard - 0.21.0-1: normalized package name match | Arch Linux sync databases: khard from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Console address book manager | https://github.com/lucc/khard


## 関連リンク

- [Secret-risk packages](https://pkg.so/ja/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/ja/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Productivity CLI packages](https://pkg.so/ja/productivity-cli-packages/) - Matched curated productivity category metadata from av.db.
- [python@3.14](https://pkg.so/ja/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [lbdb](https://pkg.so/ja/brew/lbdb/) - Popular package that depends on this formula.
- [abook](https://pkg.so/ja/brew/abook/) - Shares pkgdb curated category or tags: address-book, cli, contacts, productivity.
- [vdirsyncer](https://pkg.so/ja/brew/vdirsyncer/) - Shares pkgdb curated category or tags: carddav, cli, contacts, productivity.
- [tmux](https://pkg.so/ja/brew/tmux/) - Shares pkgdb curated category or tags: cli, productivity.
- [vim](https://pkg.so/ja/brew/vim/) - Shares pkgdb curated category or tags: cli, productivity.
- [himalaya](https://pkg.so/ja/brew/himalaya/) - Shares pkgdb curated category or tags: cli, productivity.
- [yazi](https://pkg.so/ja/brew/yazi/) - Shares pkgdb curated category or tags: cli, productivity.
- [emacs](https://pkg.so/ja/brew/emacs/) - Shares pkgdb curated category or tags: cli, productivity.

## Combined YAML source

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


## ソース

- 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
