Automic VaultAutomic Vault

brew

Install hishtory with Homebrew, Nix

Your shell history: synced, queryable, and in context. Version 0.335 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install hishtory

local Homebrew formula metadata

Linux

Nixverified · 92%
nix profile install nixpkgs#hishtory

nixpkgs package indexes · pkgs/by-name/hi/hishtory/package.nix · source: api.github.com

overview

Package summary

Your shell history: synced, queryable, and in context

Commands and aliases

  • hishtory

history

Project history and usage

hiSHtory is a Go-based shell-history manager that records commands with context, stores them locally, and can sync encrypted history across machines. In package-manager culture it sits in the modern shell-history wave: richer than `.bash_history`, friendlier to search than plain text, and designed around Control-R terminal recall.

Project history

The repository begins on 2022-01-08 with commits for versioning, local and remote client separation, integration tests, installation, command timing, export, and web/backend pieces. The first public tags appeared in April 2022, with v0.1 and several subsequent tags on 2022-04-08.

The README presents the project as better shell history: command, working directory, exit status, runtime, host, user, and time are queryable through the CLI and terminal UI. It also documents a local SQLite database path for power users and encrypted synchronization for multi-machine setups.

Later docs added stronger offline options. The offline binary documentation describes install-time sync disabling, config-time sync disabling, and a build tag that statically links network-disabled code for users who want the binary to avoid HTTP requests.

Adoption history

hiSHtory's adoption path is tied to shell integration rather than a language ecosystem. The install flow wires it into bash, zsh, and fish, then maps Control-R to the search UI so users can replace a built-in shell habit without learning a separate command first.

The Homebrew and Nix packages make it available to users who prefer package managers over the curl installer. The README also documents multi-computer setup with a secret key, self-hosted sync servers, SQLite or Postgres backend persistence, and S3-compatible storage.

How it is used

Users query history by opening the TUI with Control-R or by running `hishtory query`. The query language supports text terms plus filters such as hostname, user, exit code, and before/after dates. The README also documents redaction, duplicate filtering, displayed-column customization, custom columns, color schemes, default filters, and direct SQLite access.

For sync, hiSHtory stores data locally and sends encrypted history to a backend. Users can run without sync, self-host the backend, or use an S3-compatible backend. That range matters for shell-history tools because command history can contain sensitive operational context.

Why package nerds care

hiSHtory is significant because it packages shell memory as a database-backed, queryable, syncable tool while still preserving the muscle memory of Control-R. It is part of the same packaging niche as Atuin and older SQLite-backed shell-history experiments.

The package is also interesting for its privacy trade-offs. It offers a central sync service for convenience, but its docs also describe offline installs, self-hosting, and a compile-time network-disabled binary. That makes it unusually explicit about deployment modes for a developer productivity CLI.

Timeline

  • 2022-01-08: Repository history begins with versioning and client split commits.
  • 2022-03-29: Website, install, update, status, Postgres setup, and backend work appear in repository history.
  • 2022-04-08: First public v0.x tags appear.
  • 2022: README documents contextual shell history, encrypted sync, bash/zsh/fish install, and Control-R search.
  • 2025: Repository tags continue through a large v0.x sequence.

Related projects

  • Atuin is the closest well-known related package, also replacing shell history with contextual records and optional encrypted sync.
  • zsh-histdb and other SQLite shell-history scripts are adjacent earlier approaches.
  • SQLite and Postgres appear in hiSHtory's official materials as local and backend persistence options.

Sources

  • Official Git repository tags and commits for timeline dates.
  • Official README for core behavior, query syntax, sync, TUI, self-hosting, and configuration.
  • Official offline binary documentation for non-networked deployment modes.

security posture

Risk level: yellow

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

Risk classifier

yellow risk · medium confidence · runtime

Why

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

Signals

  • text:shell
  • text:sync

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 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
~/.hishtory/config.json

executables

Installed executables

CommandKindExposureNote
hishtorycliglobal 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.335
manager updated
local dataok
upstreamcurrent
latest detectedv0.335

https://github.com/ddworken/hishtory

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:hishtory
Version0.335
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/hishtory
Homepagehttps://hishtory.dev
Repositoryhttps://github.com/ddworken/hishtory
Upstream docshttps://github.com/ddworken/hishtory#readme
LicenseMIT
Source archivehttps://github.com/ddworken/hishtory/archive/refs/tags/v0.335.tar.gz
Build dependenciesgo
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

hishtory

nix profile install nixpkgs#hishtory
  • normalized package name match
  • Matched by: Hishtory
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/hi/hishtory/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

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
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment