Installation
Installation
Binary Download (Recommended)
Download the latest release for your platform from GitHub Releases.
Linux / macOS
OS=$(uname -s | tr '[:upper:]' '[:lower:]')
ARCH=$(uname -m)
case "$ARCH" in
x86_64) ARCH=amd64 ;;
aarch64|arm64) ARCH=arm64 ;;
armv7l) ARCH=armv7 ;;
esac
curl -sL "https://github.com/Breee/outline-cli/releases/latest/download/outline_${OS}_${ARCH}.tar.gz" | sudo tar xz -C /usr/local/bin outlineWindows
Download outline_windows_amd64.zip from the releases page and add outline.exe to your PATH.
Go Install
go install github.com/Breee/outline-cli@latestContainer Image
Use the published image from GitHub Container Registry:
docker run --rm ghcr.io/breee/outline-cli:latest versionFor reproducible environments, replace latest with a release tag such as vX.Y.Z.
Build from Source
git clone https://github.com/Breee/outline-cli.git
cd outline-cli
make build
# Binary at ./outlineShell Completions
Source directly in your current session:
# Bash
source <(outline completion bash)
# Zsh
source <(outline completion zsh)
# Fish
outline completion fish | sourceOr install persistently:
# Bash
outline completion bash > /etc/bash_completion.d/outline
# Zsh
outline completion zsh > "${fpath[1]}/_outline"
# Fish
outline completion fish > ~/.config/fish/completions/outline.fishVerify Installation
outline --help