# Install hr with Homebrew, apk, MacPorts, Nix

for your terminal window. Version 1.5 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:hr
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install hr
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install hr
```

  Evidence: MacPorts ports tree: sysutils/hr/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add hr
```

  Evidence: Alpine Linux edge package indexes: hr from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#hr
```

  Evidence: nixpkgs package indexes: pkgs/by-name/hr/hr/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:hr
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/hr>
- **Version:** 1.5
- **Source summary:** for your terminal window
- **Homepage:** <https://github.com/LuRsT/hr>
- **Repository:** <https://github.com/LuRsT/hr>
- **Upstream docs:** <https://github.com/LuRsT/hr#readme>
- **License:** MIT
- **Source archive:** <https://github.com/LuRsT/hr/archive/refs/tags/1.5.tar.gz>
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- hr (cli)
- hr (alias)

## Install behavior

- Post-install hook: not defined
- Bottle: available on all

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.5
- Local data: ok
- Upstream repository: https://github.com/LuRsT/hr
- Upstream latest detected: 1.5 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

hr is a tiny POSIX-shell command that prints horizontal rules across a terminal window, usually to visually separate logs, command output, or debugging sessions.

### Project history

The project presents itself as a minimal terminal helper: a single shell script using POSIX shell and tput, installable by copying the script, running make install, or installing the Homebrew formula on macOS.

### Adoption history

Its adoption footprint is small but package-manager friendly. The input metadata records packages for Homebrew, MacPorts, Nix, and Alpine, matching the kind of small Unix utility that survives because it is scriptable, dependency-light, and easy to vendor.

### How it is used

The README shows hr with no arguments for a default rule, with a custom character such as '*', and with multiple arguments to produce stacked ASCII patterns.

### Why package nerds care

hr is package-nerd candy because it is the whole Unix small-tool philosophy reduced to a visual separator: no service, no state, no configuration, just a command that composes with a shell session.

### Timeline

- 1.0: Public tagged release in the upstream Git repository.
- 1.5: Later tagged release in the upstream Git repository.
- Homebrew formula: Packaged as brew:hr according to input metadata.

### Related projects

- Related tools include shell prompt theming, terminal log separators, and ad hoc printf or tput snippets that users often keep in shell profiles.

### Sources

- <https://formulae.brew.sh/formula/hr>
- <https://github.com/LuRsT/hr#readme>
- <https://github.com/LuRsT/hr/wiki>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

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

## Other Package-Manager Records

- Nix - hr: normalized package name match | nixpkgs package indexes: pkgs/by-name/hr/hr/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - hr - 1.5-r0: normalized package name match | Alpine Linux edge package indexes: hr from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Script that prints characters in the entire width of the terminal | https://github.com/LuRsT/hr
- apk - hr-doc - 1.5-r0: normalized package name match | Alpine Linux edge package indexes: hr-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Script that prints characters in the entire width of the terminal (documentation) | https://github.com/LuRsT/hr
- MacPorts - hr: normalized package name match | MacPorts ports tree: sysutils/hr/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://www.automicvault.com/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [lolcat](https://www.automicvault.com/pkg/brew/lolcat/) - Shares av.db curated category or tags: cli, system, terminal, terminal-utilities.
- [lolcrab](https://www.automicvault.com/pkg/brew/lolcrab/) - Shares av.db curated category or tags: cli, system, terminal, terminal-utilities.
- [bashish](https://www.automicvault.com/pkg/brew/bashish/) - Shares av.db curated category or tags: cli, shell, system, terminal.
- [clifm](https://www.automicvault.com/pkg/brew/clifm/) - Shares av.db curated category or tags: cli, shell, system, terminal.
- [murex](https://www.automicvault.com/pkg/brew/murex/) - Shares av.db curated category or tags: cli, shell, system, terminal.
- [nsh](https://www.automicvault.com/pkg/brew/nsh/) - Shares av.db curated category or tags: cli, shell, system, terminal.
- [nushell](https://www.automicvault.com/pkg/brew/nushell/) - Shares av.db curated category or tags: cli, shell, system, terminal.
- [rsync-time-backup](https://www.automicvault.com/pkg/brew/rsync-time-backup/) - Shares av.db curated category or tags: cli, shell, system, terminal.

## Combined YAML source

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


## Sources

- 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
