Parsing multi-gigabyte log files and delimiter-separated data in the Linux terminal frequently pushes traditional GNU cut to its limits. Many developers and data engineers switch to hck, an ultra-fast drop-in replacement for cut written in Rust that supports regular expression delimiters and multiple character boundaries. On fresh cloud VPS servers, minimal container images, or basic installations, running the command yields bash: hck: command not found.
Install hck via Native Package Repositories
Install hck directly using your Linux distribution package manager where available:
- Arch Linux:
sudo pacman -S hck - Alpine Linux:
sudo apk add hck - Void Linux:
sudo xbps-install -S hck - Debian / Ubuntu: Install via Homebrew:
brew install hck
Download Official GitHub Standalone Binary Release
For Debian, Ubuntu, CentOS, or Rocky Linux systems without Homebrew, download the standalone pre-compiled binary directly into your system PATH:
HCK_VER=$(curl -s https://api.github.com/repos/sstadick/hck/releases/latest | grep 'tag_name' | cut -d '"' -f 4)
curl -sL "https://github.com/sstadick/hck/releases/download/${HCK_VER}/hck-x86_64-unknown-linux-musl.tar.gz" | tar -xz
sudo mv hck /usr/local/bin/
sudo chmod +x /usr/local/bin/hck
Install via Rust Cargo
If you have the Rust development environment installed:
cargo install hck
Confirm the tool is accessible by running hck --version or testing column selection on standard input (e.g. echo "alpha:beta:gamma" | hck -d : -f 2).