Installation
You need Node.js 20+ and curl for the hosted installer. The CLI talks to the Flux control plane API using an API token you create in the dashboard.
What you will learn
- How to install
fluxon Linux/macOS - Which environment variables the CLI expects
- How to confirm authentication
The idea
The CLI is the primary operator surface for create, push, list, lifecycle, and dumps. It is not a replacement for reading how engines and Service URLs work—but you need it on your machine before the rest of the getting-started path is meaningful.
How it works
- Run the installer (default binary path
~/.local/bin). - Export
FLUX_API_BASEpointing at your dashboard origin +/api(no trailing slash). - Export
FLUX_API_TOKENfrom Settings → API keys in the dashboard. - Run
flux loginto verify.
Install
curl -sL https://flux.vsl-base.com/install | bash# Optional target directory:# curl -sL https://flux.vsl-base.com/install | bash -s /usr/local/bin
Ensure flux is on your PATH (for example export PATH="$HOME/.local/bin:$PATH").
Environment
export FLUX_API_BASE="https://flux.vsl-base.com/api"export FLUX_API_TOKEN="flx_live_…"
Self-hosted: set FLUX_API_BASE to your dashboard API origin.
Verify
flux loginExample
flux --helpflux list
For commands that target an existing project (for example flux push), the CLI expects --project <slug> and --hash <7hex> taken from your flux list row, unless flux.json supplies them—see Create a project and Configuration.