Skip to main content

Installation

Supported platforms

Avocado CLI ships prebuilt binaries for the following OS / architecture combinations on every release:

Operating systemArchitectureTarget triple
macOSApple Siliconaarch64-apple-darwin
macOSIntelx86_64-apple-darwin
Linuxaarch64 (static)aarch64-unknown-linux-musl
Linuxx86_64 (glibc)x86_64-unknown-linux-gnu
Linuxx86_64 (static)x86_64-unknown-linux-musl
Windowsx86_64x86_64-pc-windows-msvc

The Linux *-musl builds are statically linked, so they do not depend on the host glibc version, but they still require a compatible Linux kernel and matching architecture. The *-gnu build is dynamically linked against glibc and is suitable for mainstream Linux distributions with glibc 2.31 or newer (Debian 11+, Ubuntu 20.04+, Fedora 33+, RHEL 9+).

The install script picks the appropriate binary automatically. For manual installs, download the matching artifact from the releases page, or use Downloads, which lists every shipping build with its size and SHA-256.

Prefer a native app? Avocado Desktop ships for macOS and Linux, carrying the CLI and the cross-compilation toolchain in one install, plus the build VM on macOS. The Arch Linux package (pacman) is the exception: it links a CLI you install separately rather than bundling one.

Install

On macOS or Linux:

curl -fsSL https://connect.peridio.com/install.sh | sh

On Windows, or to install manually, use the GitHub releases:

  1. Download an Avocado CLI tarball from the releases page.
  2. Extract the tarball using the following command:
    tar -xzvf <tarball>
  3. Move the extracted binary to a directory in your PATH:
    mv avocado /usr/local/bin/
  4. Verify the installation:
    avocado --version
    If successful, you should see the version number displayed.

Upgrade

To upgrade to the latest version:

avocado upgrade

To upgrade to a specific version:

avocado upgrade --version <version>