If you prefer more control, or you're on an unsupported platform (the installer supports macOS, Linux, and WSL):
GOPRIVATE=go.platform.sh go install go.platform.sh/ai/internal-gateway/cmd/ai-gateway@latest
ai-gateway loginai-gateway service installai-gateway shell-init --add