Use the CLI to list providers, manage installations, and automate rules.
Install
Homebrew (macOS/Linux)
brew install relaymesh/homebrew-relaymesh/relaymesh
Install script (macOS/Linux)
curl -fsSL https://raw.githubusercontent.com/relaymesh/relaymesh/refs/heads/main/install.sh | sh
From source
git clone https://github.com/relaymesh/relaymesh.git cd relaymesh go build -o relaymesh ./main.go
Verify
relaymesh --version
Connect to SaaS or self-hosted
Set the endpoint to your SaaS URL or your self-hosted server:
relaymesh --endpoint https://api.your-domain.com providers list
Use OAuth2 client credentials for non-interactive access if your server requires it.