Installation

Binaries Installation

Linux

Precompiled binary is available at hurl-1.4.0-x86_64-linux.tar.gz:

$ INSTALL_DIR=/tmp
$ curl -sL https://github.com/Orange-OpenSource/hurl/releases/download/1.4.0/hurl-1.4.0-x86_64-linux.tar.gz | tar xvz -C $INSTALL_DIR
$ export PATH=$INSTALL_DIR/hurl-1.4.0:$PATH

$ hurl --version
hurl 1.4.0

Debian / Ubuntu

For Debian / Ubuntu, Hurl can be installed using a binary .deb file provided in each Hurl release.

$ curl -LO https://github.com/Orange-OpenSource/hurl/releases/download/1.4.0/hurl_1.4.0_amd64.deb
$ sudo dpkg -i hurl_1.4.0_amd64.deb

Arch Linux / Manjaro

hurl-bin package for Arch Linux and derived distros are available via AUR.

macOS

Precompiled binary is available at hurl-1.4.0-x86_64-osx.tar.gz.

Hurl can also be installed with Homebrew:

$ brew tap jcamiel/hurl
$ brew install hurl

$ hurl --version
hurl 1.4.0

Windows

Zip File

Hurl can be installed from a standalone zip file hurl-1.4.0-win64.zip. You will need to update your PATH variable.

Installer

An installer hurl-1.4.0-win64-installer.exe is also available.

Chocolatey

$ choco install hurl

Scoop

$ scoop install hurl

Windows Package Manager

$ winget install hurl

Cargo

If you’re a Rust programmer, Hurl can be installed with cargo.

$ cargo install hurl

Building From Sources

Hurl sources are available in GitHub.

Build on Linux, macOS

Hurl depends on libssl, libcurl and libxml2 native libraries. You will need their development files in your platform.

# debian based distributions
apt install -y pkg-config libssl-dev libcurl4-openssl-dev libxml2-dev

# redhat based distributions
yum install -y pkg-config gcc openssl-devel libxml2-devel

# arch based distributions
pacman -Sy --noconfirm pkgconf gcc openssl libxml2

Hurl is written in Rust. You should install the latest stable release.

$ curl https://sh.rustup.rs -sSf | sh -s -- -y
$ source $HOME/.cargo/env
$ rustc --version
$ cargo --version

Build

$ git clone https://github.com/Orange-OpenSource/hurl
$ cd hurl
$ cargo build --release
$ ./target/release/hurl --version

Build on Windows

Please follow the contrib on Windows section.