🍺 BREW Explorer

← all formulae

hstr

brew install hstr v3.2 Apache-2.0

Bash and zsh history suggest box

76
30-day installs · #3881
272
90-day · #3699
1.2k
365-day · #3516
4.4k
★ GitHub stars · updated 2mo ago

Runtime dependencies

Build dependencies

GitHub topics

bash c cli command-history history linux ubuntu zsh

Links

Raw metadata
{
  "aliases": [],
  "alternatives": [],
  "build_dependencies": [
    "autoconf",
    "automake",
    "libtool",
    "pkgconf"
  ],
  "categories": [],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [
    "readline"
  ],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Bash and zsh history suggest box",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:38:41+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "hstr",
  "github_default_branch": "master",
  "github_last_commit_at": "2026-05-29T18:08:10Z",
  "github_readme_excerpt": "# HSTR\n\n[![Support on Open Collective](https://img.shields.io/badge/Sponsor-Open%20Collective-blue?style=for-the-badge\u0026logo=open-collective)](https://opencollective.com/dvorka-floss-lab)\n[![GitHub Actions CI for Ubuntu](https://github.com/dvorka-oss/hstr/actions/workflows/build_ubuntu.yml/badge.svg)](https://github.com/dvorka-oss/hstr/actions)\n[![Current release](https://img.shields.io/github/release/dvorka/hstr.svg)](https://github.com/dvorka-oss/hstr/releases)\n[![GitHub issues](https://img.shields.io/github/issues/dvorka/hstr.svg?maxAge=360)](https://github.com/dvorka-oss/hstr/issues)\n[![All releases downloads](https://img.shields.io/github/downloads/dvorka/hstr/total.svg)](https://github.com/dvorka-oss/hstr/releases)\n[![License](https://img.shields.io/github/license/dvorka/hstr?color=%23fe0000)](https://github.com/dvorka-oss/hstr/blob/master/LICENSE)\n\nEasily view, navigate and search your **command history** with shell history TUI suggest box for\n[bash](https://www.gnu.org/software/bash/) and [zsh](CONFIGURATION.md#zsh-history-settings).\n\n[![Shell History Suggest Box](doc/hstr-v2.gif \"Shell History Suggest Box @ YouTube\")](http://www.youtube.com/watch?v=sPF29NyXe2U)\n\n## Description\n\nAre you looking for a command that you used **recently**? Do you\nwant to  avoid the need to write **long commands** over and over\nagain? Are you looking for a tool that is able to manage your\n**favorite** commands?\n\nHSTR (**H**i**ST**o**R**y) is a command line utility that brings improved `bash`/`zsh` command completion\nfrom the history. It aims to make completion **easier** and more **efficient** than \u003ckbd\u003eCtrl-r\u003c/kbd\u003e.\n\nHSTR can also **manage** your command history (for instance you can remove\ncommands that are obsolete or contain a piece of sensitive information)\nor **bookmark** your favorite commands.\n\n\u003c!-- Check [video](http://www.youtube.com/watch?v=sPF29NyXe2U) tutorial. --\u003e\n\n## Packages\n\n\u003ctable\u003e\u003ctr\u003e\u003ctd\u003e\n  \u003ca href=\"https://repology.org/project/hstr/versions\"\u003e\n    \u003cimg src=\"http",
  "github_repo": "dvorka/hstr",
  "github_stars": 4438,
  "github_topics": [
    "bash",
    "c",
    "cli",
    "command-history",
    "history",
    "linux",
    "ubuntu",
    "zsh"
  ],
  "homepage": "https://github.com/dvorka/hstr",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 76,
  "installs_365d": 1225,
  "installs_90d": 272,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "Apache-2.0",
  "llm_generated_at": null,
  "llm_model": null,
  "name": "hstr",
  "oldnames": [
    "hh"
  ],
  "one_liner": null,
  "optional_dependencies": [],
  "rank_30d": 3881,
  "rank_365d": 3516,
  "rank_90d": 3699,
  "raw_hash": "2fc877b7748011be",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/h/hstr.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [
    "ncurses"
  ],
  "version_head": null,
  "version_stable": "3.2",
  "versioned_formulae": [],
  "why_use_this": null
}