# historian を Homebrew, MacPorts でインストール

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

## インストール

```sh
sudo av install brew:historian
```

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

### macOS

- Homebrew (100%):

```sh
brew install historian
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install hist
```

  証拠: MacPorts ports tree: math/hist/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:historian
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.0.2
- **ソース概要:** Command-line utility for managing shell history in a SQLite database
- **ホームページ:** <https://github.com/jcsalterego/historian>
- **リポジトリ:** <https://github.com/jcsalterego/historian>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- hist (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 0.0.2
## プロジェクトの歴史と使われ方

historian is a small shell-history utility that imports `~/.bash_history` into SQLite and exposes a `hist` command for config, import, search, and log viewing. It is a niche predecessor to later shell-history database tools.

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

The repository begins on 2017-04-10 with an initial commit. Tags 0.0.1 and 0.0.2 followed within days, and the README documents the utility as a command-line manager for shell history in a SQLite database.

The project is intentionally narrow: dedupe and import Bash history, store it in `~/.historian.db`, search it, and optionally run `hist import` from a shell profile.

### 採用の歴史

Official adoption evidence is thin. Homebrew and MacPorts package records in the batch input indicate that the tool crossed from a personal script-style repository into package-manager distribution, but the official README does not describe a wider community.

### 使われ方

A user places the script directory on PATH or aliases `hist`, runs `hist import`, and searches with `hist search term` or shorthand `hist /term`. `hist config` prints paths for Bash history, the SQLite database, and sqlite3.

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

historian is package-nerd-interesting mainly because it captures the minimal SQLite shell-history idea in a tiny package: no daemon, no sync, no terminal UI, just import and query. That simplicity makes it a useful contrast with later tools such as hiSHtory and Atuin.

### タイムライン

- 2017-04-10: Initial commit.
- 2017-04-11: 0.0.1 is tagged.
- 2017-04-14: 0.0.2 is tagged.
- 2017: README documents import, config, search, and log workflows.

### Related projects

- hiSHtory and Atuin are later, larger shell-history tools with contextual search and sync.
- SQLite is the core storage dependency documented by historian.

### ソース

- Official Git repository tags and commits for timeline dates.
- Official README for feature scope, install, usage, and database paths.


## セキュリティノート

broad file, network, media, or database tool signal. generalized runtime or code generation signal.

- **Geiger リスク:** yellow / 中
- broad file, network, media, or database tool signal
- generalized runtime or code generation signal

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

- MacPorts - hist: installed executable or alias match | MacPorts ports tree: math/hist/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

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


## ソース

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
