pkg.soopen package index

brew / 排名 3520

使用 Homebrew, apk, apt, dnf, MacPorts, Nix 安装 hstr

查看 hstr 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install hstr

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install hstr

MacPorts ports tree · shells/hstr/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add hstr

Alpine Linux edge package indexes · hstr · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install hstr

Debian stable package indexes · hstr · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install hstr

Fedora Rawhide package metadata · hstr · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#hstr

nixpkgs package indexes · pkgs/by-name/hs/hstr/package.nix · 来源: api.github.com

概览

软件包摘要

Bash and zsh history suggest box

命令和别名

  • hh
  • hstr

历史

项目历史与用法

HSTR is a terminal user-interface for viewing, searching, curating, and reusing bash and zsh command history, with the hh command as a common shortcut.

项目历史

The README expands HSTR as HiSToRy and presents it as a more efficient alternative to Ctrl-r for shell history completion. It combines search, navigation, deletion of sensitive or obsolete commands, and bookmarking of favorite commands.

The project evolved into a broadly packaged shell productivity tool, with documentation for bash and zsh bindings, aliases, environment-driven configuration, blacklist behavior, color and layout settings, and shell-history tuning.

采用历史

The README lists installation documentation for many distributions and package systems, including Ubuntu, Debian, Fedora, CentOS, openSUSE, Gentoo, Alpine, Arch, FreeBSD, Slackware, Void, Haiku, macOS, Nix, Guix, and others. The input metadata also records packages in Alpine, Homebrew, Debian, Fedora, MacPorts, Nix, and Ubuntu.

The project page collects coverage from Linux Magazine, UbuntuGeek, DebianAdmin, Tuxdiary, Softpedia, OSTechNix, videos, and community posts, which fits its role as a discoverable shell workflow enhancer.

使用方式

Users typically add generated bash or zsh configuration to ~/.bashrc or ~/.zshrc, bind HSTR to a key such as Ctrl-r, and optionally define alias hh=hstr.

Configuration is intentionally shell-native: HSTR reads HISTFILE, HSTR_PROMPT, HSTR_IS_SUBSHELL, and HSTR_CONFIG, with options for color, prompt placement, matching mode, duplicate handling, favorites, and blacklists.

为什么软件包爱好者会关心

HSTR is significant in package-manager culture because it is a shell-history tool that crosses the boundary between a packaged executable and user dotfile integration. A package can install the binary, but value comes when the user wires it into readline or zsh keybindings.

It is also one of the better-known examples in the family of TUI shell-history searchers, alongside tools such as fzf-based history widgets and newer history managers.

时间线

  • 0.2: Early upstream tag appears in the repository.
  • 1.x: The project accumulated a long sequence of tagged releases.
  • 2.x: Later tags continued the shell-history TUI series.
  • 3.x: The v3.2 tag appears after the 3.0 and 3.1 tags.

Related projects

  • Related projects include bash, zsh, readline, fzf history bindings, shell history managers, and terminal bookmark or snippet workflows.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

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
~/.bashrc~/.zshrc~/.hstr_blacklist

可执行文件

已安装的可执行文件

命令类型暴露范围备注
hh可执行文件已索引可执行文件从本地可执行文件索引发现。
hstr可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本3.2
管理器更新时间2026-07-28
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:hstr
版本3.2
软件包管理器Homebrew
主页https://github.com/dvorka-oss/hstr
仓库https://github.com/dvorka-oss/hstr
最后更新2026-07-28T13:41:32+09:00
Pulseupdated
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

hstr 3.1+ds-1+b1

Suggest box like shell history completion

https://github.com/dvorka/hstr

sudo apt install hstr
  • Section: utils
  • Architecture: amd64
  • Source Package: hstr
  • 4 依赖
  • normalized package name match
  • 匹配方式:Hstr
Debian stable package indexes · deb.debian.org · Debian stable package indexes: hstr from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

hstr

nix profile install nixpkgs#hstr
  • normalized package name match
  • 匹配方式:Hstr
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/hs/hstr/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

hstr 3.1+ds-1build2

Suggest box like shell history completion

https://github.com/dvorka/hstr

sudo apt install hstr
  • Section: universe/utils
  • Architecture: amd64
  • 4 依赖
  • normalized package name match
  • 匹配方式:Hstr
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: hstr from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

hstr 3.2-r0

Bash and ZSH shell history suggest box

https://github.com/dvorka/hstr

sudo apk add hstr
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: hstr
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Hstr
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: hstr from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

hstr-bash-completion 3.2-r0

Bash completions for hstr

https://github.com/dvorka/hstr

sudo apk add hstr-bash-completion
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: hstr
  • normalized package name match
  • 匹配方式:Hstr
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: hstr-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

hstr-doc 3.2-r0

Bash and ZSH shell history suggest box (documentation)

https://github.com/dvorka/hstr

sudo apk add hstr-doc
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: hstr
  • normalized package name match
  • 匹配方式:Hstr
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: hstr-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

hstr 3.1-8.fc45

Suggest box like shell history completion

https://github.com/dvorka/hstr

sudo dnf install hstr
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: hstr
  • 6 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Hstr
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: hstr from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst
MacPorts95%

hstr

sudo port install hstr
  • normalized package name match
  • 匹配方式:Hstr
MacPorts ports tree · api.github.com · MacPorts ports tree: shells/hstr/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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