# 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
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/historian>
- **バージョン:** 0.0.2
- **ソース概要:** Command-line utility for managing shell history in a SQLite database
- **ホームページ:** <https://github.com/jcsalterego/historian>
- **リポジトリ:** <https://github.com/jcsalterego/historian>
- **上流ドキュメント:** <https://github.com/jcsalterego/historian#readme>
- **ライセンス:** BSD-2-Clause
- **ソースアーカイブ:** <https://github.com/jcsalterego/historian/archive/refs/tags/0.0.2.tar.gz>
- **生成日時:** 2026-07-08T07:18:31+00:00

## 実行可能ファイル

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

## macOS 提供ライブラリ

- sqlite

## インストール挙動

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

## バージョンと鮮度

- ページ生成日: 2026-07-08
- マネージャ版: 0.0.2
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/jcsalterego/historian
- 検出された最新: 0.0.2 (最新)
- 情報: No package-manager update timestamp was available.
## プロジェクトの歴史と使われ方

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

## ソースデータベース詳細

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

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

- 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


## 関連リンク

- [Source-control packages](https://www.automicvault.com/ja/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/ja/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/ja/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/ja/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [hishtory](https://www.automicvault.com/ja/pkg/brew/hishtory/) - Shares av.db curated category or tags: cli, developer-tools, history, shell, shell-history.
- [aliae](https://www.automicvault.com/ja/pkg/brew/aliae/) - Shares av.db curated category or tags: cli, developer-tools, shell.
- [bar](https://www.automicvault.com/ja/pkg/brew/bar/) - Shares av.db curated category or tags: cli, developer-tools, shell.
- [bashate](https://www.automicvault.com/ja/pkg/brew/bashate/) - Shares av.db curated category or tags: cli, developer-tools, shell.
- [checkbashisms](https://www.automicvault.com/ja/pkg/brew/checkbashisms/) - Shares av.db curated category or tags: cli, developer-tools, shell.
- [desk](https://www.automicvault.com/ja/pkg/brew/desk/) - Shares av.db curated category or tags: cli, developer-tools, shell.
- [fish](https://www.automicvault.com/ja/pkg/brew/fish/) - Shares av.db curated category or tags: cli, developer-tools, shell.
- [fish-lsp](https://www.automicvault.com/ja/pkg/brew/fish-lsp/) - Shares av.db curated category or tags: cli, developer-tools, shell.
- [powershell](https://www.automicvault.com/ja/pkg/brew/powershell/) - Local package facts share a topical domain. Shared terms: cli, command-line, developer, developer-tools, line.
- [sqlx-cli](https://www.automicvault.com/ja/pkg/brew/sqlx-cli/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, command-line, database, developer, developer-tools.

## Combined YAML source

View the package source record on GitHub. [combined/historian.yml](https://github.com/automic-vault/db/blob/main/combined/historian.yml)


## ソース

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
