This guide walks you through installing and configuring the Traylinx CLI.
- Python 3.11+
- Docker (for
run,stop,logs,publish,pullcommands) - Docker Buildx (optional, for multi-arch image builds)
pipx installs CLI tools in isolated environments:
pipx install traylinx-clibrew tap traylinx/traylinx
brew install traylinxpip install traylinx-cli| Variable | Description | Default |
|---|---|---|
TRAYLINX_ENV |
Environment mode (dev, staging, prod) |
prod |
TRAYLINX_REGISTRY_URL |
Override the Agent Registry URL | (auto) |
TRAYLINX_AGENT_KEY |
Your agent's public key | - |
TRAYLINX_SECRET_TOKEN |
Your Sentinel-issued secret token | - |
Create ~/.traylinx/config.yaml:
env: prod
registry_url: https://api.traylinx.com
credentials:
agent_key: your-agent-key
secret_token: your-secret-tokentraylinx --versiontraylinx loginFollow the on-screen instructions to complete OAuth authentication via Sentinel.