How To Install Hr In MacOS?

How To Install Hr In MacOS?

hr

Print a horizontal rule in the terminal.

Install hr

  • macOS brew install hr Click to copy

Print a horizontal rule in the terminal.

How to use hr?

Below are few example commands for hr that you can use in the terminal.

Print a horizontal rule:
hrClick to copy
Print a horizontal rule with a custom string:
hr stringClick to copy
Print a multiline horizontal rule:
hr string_a string_b string_cClick to copy
To install the latest version of hr in your favorite operating system just copy the hr installation command from above and paste it into terminal. It will download and install the latest version of hr 2026 package in your OS.