Install huck

Pick whichever fits your platform. All methods produce the same huck binary.

Homebrew (macOS/Linux)

brew install jdstanhope/huck/huck

Debian/Ubuntu (.deb)

curl -fsSL https://raw.githubusercontent.com/jdstanhope/huck/main/scripts/install.sh | sh
# or, manually:
sudo apt install ./huck_<version>_<arch>.deb

cargo install

cargo install --git https://github.com/jdstanhope/huck huck

From source

Clone the repo and build it with a stable Rust toolchain:

cargo build --release
cargo run                # interactive REPL

First run

Running huck with no arguments drops you into an interactive REPL — a line editor with history and tab completion, just like bash. It sources your existing ~/.bashrc-class startup files, so your prompt, aliases, and completions carry over.

huck
$ huck
huck> echo hello from huck
hello from huck
huck> exit