Skip to content
Installation

Installation

This guide covers every supported way to install sortie on your machine. Pick the method that fits your setup, verify the installation, and you’re ready to go.

Install Script (macOS and Linux)

The recommended method for macOS and Linux. The script detects your OS and architecture, downloads the correct binary, verifies its checksum, and places it on your PATH.

curl -sSL https://get.sortie-ai.com/install.sh | sh

By default the binary is installed to /usr/local/bin when running as root, or ~/.local/bin otherwise. If the install directory is not already on your PATH, the script prints the exact command to add it.

Script Options

VariableEffect
SORTIE_VERSIONPin a specific release (e.g. 1.9.0). Without it, the latest release is used.
SORTIE_INSTALL_DIROverride the install directory.
SORTIE_NO_VERIFY=1Skip SHA-256 checksum verification (not recommended).

Example — install a specific version to a custom directory:

SORTIE_VERSION=1.9.0 SORTIE_INSTALL_DIR=/opt/bin \
  curl -sSL https://get.sortie-ai.com/install.sh | sh

Homebrew (macOS and Linux)

If you use Homebrew, install Sortie from the official tap:

brew install sortie-ai/tap/sortie

The tap is added automatically on first install. To upgrade to a new release:

brew upgrade sortie

Docker

Sortie provides a Docker image at ghcr.io/sortie-ai/sortie.

See our guide on using Sortie in Docker for more details.

Download from GitHub Releases

If you prefer to download manually, or you’re on a platform the install script doesn’t cover (like Windows), grab the archive directly from GitHub.

Determine your platform

OSArchitectureAsset name
Linuxx86_64sortie_VERSION_linux_amd64.tar.gz
LinuxARM64sortie_VERSION_linux_arm64.tar.gz
macOSIntelsortie_VERSION_darwin_amd64.tar.gz
macOSApple Siliconsortie_VERSION_darwin_arm64.tar.gz
Windowsx86_64sortie_VERSION_windows_amd64.zip
WindowsARM64sortie_VERSION_windows_arm64.zip

Download and extract

Go to the Releases page and download the asset matching your platform.

macOS / Linux:

tar -xzf sortie_VERSION_linux_amd64.tar.gz

Windows (PowerShell):

Expand-Archive sortie_VERSION_windows_amd64.zip -DestinationPath .

Verify the checksum (recommended)

Each release includes a checksums.txt file. Download it alongside the archive and verify the SHA-256 hash.

macOS / Linux:

sha256sum -c checksums.txt --ignore-missing

Windows (PowerShell):

(Get-FileHash sortie_VERSION_windows_amd64.zip -Algorithm SHA256).Hash

Compare the output against the matching line in checksums.txt.

Move the binary to your PATH

macOS / Linux:

install -m 755 sortie /usr/local/bin/sortie

Windows:

Move sortie.exe to a directory on your PATH, or add its current location to PATH through Settings > System > About > Advanced system settings > Environment Variables.

Go Install

If you have Go 1.26+ installed, you can install directly from source:

go install github.com/sortie-ai/sortie/cmd/sortie@latest

The binary is placed in $GOPATH/bin (or $HOME/go/bin by default). Make sure that directory is on your PATH.

To pin a version:

go install github.com/sortie-ai/sortie/cmd/sortie@v1.0.0

Build from Source

For development or when you need a custom build. Requires Git and Go 1.26+.

Clone the repository

git clone https://github.com/sortie-ai/sortie.git
cd sortie

Compile the binary

make build

This produces a sortie binary in the repository root.

Move the binary to your PATH

install -m 755 sortie /usr/local/bin/sortie

Verify the Installation

Confirm sortie is installed and on your PATH:

sortie --version

You should see output like:

sortie v0.x.x

Troubleshooting

Homebrew formula fails to install — The local tap may be stale. Run brew update first, then retry:

brew update
brew install sortie-ai/tap/sortie

command not found: sortie — The install directory is not on your PATH. Add it to your shell configuration file (~/.bashrc, ~/.zshrc, or ~/.config/fish/config.fish) and reload your shell:

export PATH="$HOME/.local/bin:$PATH"

Checksum mismatch — The download may have been corrupted or tampered with. Delete the file and download again. If the problem persists, open an issue.

Permission denied during install — Either run the install command with sudo, or choose a directory you own (e.g. ~/.local/bin).

Next steps

  • Quick start — run Sortie end-to-end with a mock agent and local issues

Was this page helpful?