macOS
brew install hishtorylocal Homebrew formula metadata
brew
Your shell history: synced, queryable, and in context. Version 0.335 via Homebrew; verified from local package data.
install
brew install hishtorylocal Homebrew formula metadata
nix profile install nixpkgs#hishtorynixpkgs package indexes · pkgs/by-name/hi/hishtory/package.nix · source: api.github.com
overview
Your shell history: synced, queryable, and in context
history
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.
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.
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.
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.
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.
security posture
broad file, network, media, or database tool signal. generalized runtime or code generation signal.
yellow risk · medium confidence · runtime
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
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.
Config paths the tool may read or write during local use.
~/.hishtory/config.jsonexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
hishtory | cli | global executable |
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.
https://github.com/ddworken/hishtory
install metadata
| Package key | brew:hishtory |
|---|---|
| Version | 0.335 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/hishtory |
| Homepage | https://hishtory.dev |
| Repository | https://github.com/ddworken/hishtory |
| Upstream docs | https://github.com/ddworken/hishtory#readme |
| License | MIT |
| Source archive | https://github.com/ddworken/hishtory/archive/refs/tags/v0.335.tar.gz |
| Build dependencies | go |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | hishtory |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
hishtory
nix profile install nixpkgs#hishtorysource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.