Installation
Overview​
Hauler is a purpose built to be a single binary with no prerequistes, depedencies, or runtime environment. It's installation is very simple and easy to follow. To view the latest release, please view our GitHub Release page.
Supported Architectures​
| Base Platform | Architecture |
|---|---|
| Linux | amd64 and arm64 |
| Darwin | amd64 and arm64 |
| Windows | amd64 and arm64 |
Installation Steps​
Linux/Darwin​
# install latest release
curl -sfL https://get.hauler.dev | bash
# install with debug mode
curl -sfL https://get.hauler.dev | HAULER_DEBUG=true bash
# install specific release
curl -sfL https://get.hauler.dev | HAULER_VERSION=2.1.1 bash
# install at different directory
curl -sfL https://get.hauler.dev | HAULER_INSTALL_DIR=/usr/bin bash
# install with different hauler directory
curl -sfL https://get.hauler.dev | HAULER_DIR=$HOME/.hauler bash
Homebrew​
# install latest release
brew tap hauler-dev/homebrew-tap
brew install hauler
# install specific release
brew tap hauler-dev/homebrew-tap
brew install hauler@2.1.1
# install latest release, release candidate, or dev build
brew tap hauler-dev/homebrew-tap
brew install hauler-dev
Windows​
# install latest release
irm https://get.hauler.dev/install.ps1 | iex
Manual Installation Steps​
Linux/Darwin​
# set the hauler version (i.e. HAULER_VERSION=2.1.1)
export vHauler=HAULER_VERSION
# set the specific platform (i.e. PLATFORM=linux)
export platform=PLATFORM
# set the specific arch (i.e. ARCH=amd64)
export arch=ARCH
curl -sOL https://github.com/hauler-dev/hauler/releases/download/v${vHauler}/hauler_${vHauler}_${platform}_${arch}.tar.gz
tar -xf hauler_${vHauler}_${platform}_${arch}.tar.gz
sudo mv hauler /usr/bin/hauler
Windows​
# set the hauler version (i.e. HAULER_VERSION=2.1.1)
$vHauler="HAULER_VERSION"
# set the specific arch (i.e. ARCH=amd64)
$arch="ARCH"
curl.exe -sOL https://github.com/hauler-dev/hauler/releases/download/v${vHauler}/hauler_${vHauler}_windows_${arch}.tar.gz
tar -xf hauler_${vHauler}_windows_${arch}.tar.gz
New-Item -ItemType Directory -Force -Path "$env:LOCALAPPDATA\Programs\hauler" | Out-Null
Move-Item -Force hauler.exe "$env:LOCALAPPDATA\Programs\hauler\hauler.exe"
[Environment]::SetEnvironmentVariable("PATH", "$([Environment]::GetEnvironmentVariable('PATH', 'User'));$env:LOCALAPPDATA\Programs\hauler", "User")