Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Installation Overview

Hash can be installed on Linux, macOS, and FreeBSD through various methods.

Quick Install

PlatformMethodCommand
macOSHomebrewbrew install juliojimenez/hash/hash-shell
Debian/UbuntuAPTSee APT instructions
All platformsFrom sourcemake && sudo make install
DockerPull imagedocker pull juliojimenez/hash-shell

Choose Your Installation Method

  • Linux - Binary releases for x86_64 and ARM64
  • macOS - Homebrew or binary release
  • FreeBSD - Binary release or ports
  • APT Repository - Debian/Ubuntu with automatic updates
  • Docker - Containerized hash shell
  • From Source - Build from source code

System Requirements

  • 64-bit operating system (x86_64 or ARM64)
  • Linux kernel 3.2+ / macOS 10.15+ / FreeBSD 12+
  • libc (glibc on Linux, system libc on macOS/BSD)
  • Terminal with ANSI color support (optional, for colored output)

Verify Installation

After installation, verify hash is working:

hash-shell --version
# hash v34

hash-shell
# hash v34
# Type 'exit' to quit
#>

Next Steps

After installing, see Getting Started to configure your shell.