How to Fix bash: curlie: command not found in Minimal Linux Distributions

Developers who enjoy the intuitive syntax of HTTPie combined with the speed and detailed feature set of curl frequently use curlie. When executing commands on minimal server environments or docker containers, the shell returns bash: curlie: command not found because curlie is not bundled into default base system images.

Install curlie via Package Managers

Deploy curlie across common Linux distributions using their respective repository commands:

  • Arch Linux: sudo pacman -S curlie
  • Debian / Ubuntu: Install via Homebrew: brew install curlie
  • Alpine Linux: sudo apk add curlie
  • Void Linux: sudo xbps-install -S curlie

Install via Automated Shell Script

For Debian, Ubuntu, Fedora, or RHEL instances without third-party package repositories, execute the official install script:

curl -sS https://webi.sh/curlie | sh
source ~/.config/envman/PATH.env

Download Pre-compiled Binary from GitHub

Alternatively, fetch the latest standalone release binary directly into your system PATH:

CURLIE_VER=$(curl -s https://api.github.com/repos/rs/curlie/releases/latest | grep 'tag_name' | cut -d '"' -f 4)
curl -sL "https://github.com/rs/curlie/releases/download/${CURLIE_VER}/curlie_${CURLIE_VER#v}_linux_amd64.tar.gz" | tar -xz
sudo mv curlie /usr/local/bin/
sudo chmod +x /usr/local/bin/curlie

Confirm the tool is accessible by running curlie --version or testing an HTTP request with curlie httpbin.org/get.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.