Install the Avenlith CLI
Manage servers, networks and Shield from your terminal on Linux, macOS and Windows.
On this page
Install#
The CLI is a single static binary. The installer verifies its signature and places it in your PATH:
# Linux and macOS
curl -fsSL https://get.avenlith.com/cli | sh
# Windows (PowerShell)
irm https://get.avenlith.com/cli.ps1 | iex
avenlith version
Log in#
avenlith auth login opens your browser for single sign-on and stores a short-lived token in the system keychain. On servers without a browser, use an API token instead: export AVENLITH_TOKEN=….
avenlith auth login # opens the browser for single sign-on
avenlith project use production
avenlith server list --output table
Profiles#
Profiles let you switch between projects and default regions without repeating flags:
# ~/.config/avenlith/config.toml
[profile.production]
project = "prj_4k2m9"
region = "ist1"
output = "table"
Select a profile with --profile production or the AVENLITH_PROFILE environment variable.
Output formats#
Every command supports --output table | json | yaml. JSON output is stable and safe to parse in scripts.
Was this page helpful?
Still need help?
Our engineers answer tickets 24/7 — average first response in 7 minutes.