Skip to content

Prepare The Binary

Every deployment starts with the lyftdata executable.

The same binary can operate as a server or a worker, so you only need to download it once per host. Choose the commands that match your platform.

Linux (systemd hosts)

  1. Download the archive

    Terminal window
    mkdir -p /opt/lyftdata
    cd /opt/lyftdata
    curl -LO https://dist.lyftdata.com/downloads/latest/lyftdata-x86_64-unknown-linux-gnu.tar.xz
  2. (Optional) Verify the checksum

    Terminal window
    curl -LO https://dist.lyftdata.com/downloads/latest/lyftdata-x86_64-unknown-linux-gnu.tar.xz.sha256
    sha256sum -c lyftdata-x86_64-unknown-linux-gnu.tar.xz.sha256
  3. Extract the archive and make it executable

    Terminal window
    tar -xJf lyftdata-x86_64-unknown-linux-gnu.tar.xz
    chmod +x lyftdata

    If you prefer a global location, create a symlink:

    Terminal window
    sudo ln -s /opt/lyftdata/lyftdata /usr/sbin/lyftdata
  4. Confirm the version

    Terminal window
    ./lyftdata --version

macOS (launchd hosts)

  1. Download the archive

    Terminal window
    mkdir -p /usr/local/lib/lyftdata
    cd /usr/local/lib/lyftdata
    curl -LO https://dist.lyftdata.com/downloads/latest/lyftdata-aarch64-apple-darwin.tar.xz

    Replace the archive name if you need the x86-64 build instead of Apple Silicon.

  2. (Optional) Verify the checksum

    Terminal window
    curl -LO https://dist.lyftdata.com/downloads/latest/lyftdata-aarch64-apple-darwin.tar.xz.sha256
    shasum -a 256 -c lyftdata-aarch64-apple-darwin.tar.xz.sha256
  3. Extract and install the binary

    Terminal window
    tar -xJf lyftdata-aarch64-apple-darwin.tar.xz
    chmod +x lyftdata
    sudo mv lyftdata /usr/local/bin/lyftdata
    # Remove the Gatekeeper quarantine flag so the unsigned binary can run
    sudo xattr -d com.apple.quarantine /usr/local/bin/lyftdata || true
  4. Confirm the version

    Terminal window
    lyftdata --version

Windows (PowerShell)

  1. Download the archive

    Terminal window
    $downloadDir = 'C:\Program Files\LyftData'
    New-Item -ItemType Directory -Path $downloadDir -Force | Out-Null
    Invoke-WebRequest -Uri https://dist.lyftdata.com/downloads/latest/lyftdata-x86_64-pc-windows-msvc.zip -OutFile "$downloadDir\lyftdata.zip"
    Unblock-File -Path "$downloadDir\lyftdata.zip" -ErrorAction SilentlyContinue
  2. (Optional) Verify the checksum

    Terminal window
    Invoke-WebRequest -Uri https://dist.lyftdata.com/downloads/latest/lyftdata-x86_64-pc-windows-msvc.zip.sha256 -OutFile "$downloadDir\lyftdata.zip.sha256"
    $expected = (Get-Content "$downloadDir\lyftdata.zip.sha256").Split()[0]
    $actual = (Get-FileHash "$downloadDir\lyftdata.zip" -Algorithm SHA256).Hash
    if ($expected -ne $actual) { throw "Checksum mismatch: expected $expected but saw $actual" }
  3. Extract the archive

    Terminal window
    Expand-Archive -Path "$downloadDir\lyftdata.zip" -DestinationPath $downloadDir -Force
    Unblock-File -Path "$downloadDir\lyftdata.exe" -ErrorAction SilentlyContinue
  4. Confirm the version

    Terminal window
    & "$downloadDir\lyftdata.exe" --version

    Add $downloadDir to PATH or copy lyftdata.exe into a directory that is already on PATH so services can find it.

Once the executable is available on the host, continue with the platform-specific server and worker setup guides.