CLI Configuration
Developer CLI
The Node.js developer CLI uses theconf package with the project name synapsex-cli.
synapsex login in the same config store.
| Variable | Default | Purpose |
|---|---|---|
SYNAPSEX_API_BASE | https://api.synapsex.ai/v1 | REST API base URL |
SYNAPSEX_AUTH_URL | https://api.synapsex.ai | Auth-service compatible base URL |
SYNAPSEX_API_URL | http://localhost:8015 | Jobs command base URL |
SYNAPSEX_TOKEN | empty | Jobs command bearer token |
VM/Ops CLI
The Python VM/Ops CLI stores JSON files under~/.synapsex:
| File | Purpose |
|---|---|
~/.synapsex/config.json | CLI settings such as base_url |
~/.synapsex/credentials.json | Access token, refresh token, and user metadata |
| Key | Description |
|---|---|
base_url | API base URL. Defaults to http://localhost:3000 |
default_output | Output format: table, json, or yaml |
timeout | HTTP timeout in seconds |
color_theme | default, dark, or light |