Alesia CLI commands
Reference for every alesia command: sign-in, policies, limits, warnings, incidents, config, sync, logs, updates and uninstall.
This page lists every alesia command, what it does and the flags it accepts. For setup, see Get started with the Alesia CLI.
Global options
These options work with every command.
Option | What it does |
|---|---|
| Address of the Alesia Core app on this device. Default: |
| Print machine-readable JSON instead of formatted output. |
status
Show whether Alesia Core is running, whether this device is signed in, its sensors and the MITM status.
alesia statusFlag | What it does |
|---|---|
| Skip the short status cache and fetch the status again. |
auth
Sign this device in to Alesia or out of it.
auth login
alesia auth login --openFlag | What it does |
|---|---|
| Open the sign-in page in your browser. |
| Complete sign-in with the callback URL ( |
auth logout
Sign out and revoke this device.
alesia auth logoutauth status
Show the current sign-in state and the signed-in email, if there is one.
alesia auth statusalesia login and alesia logout are shortcuts for alesia auth login and alesia auth logout.
sync
Pull the latest policies from Alesia and push pending usage, Shadow AI and incident data.
alesia syncFlag | What it does |
|---|---|
| Send buffered usage events to Alesia and skip the policy pull. |
config
View and change this device's configuration and feature consent.
config list
Show the current configuration and consent state.
alesia config listconfig enable
Enable a feature. This also records your consent.
alesia config enable mitmArgument or flag | What it does |
|---|---|
| One of |
| Accept the terms without the interactive prompt. Required when the command runs unattended. |
| Skip the extra confirmation, for example before installing the local MITM certificate authority. |
config disable
Disable a feature.
alesia config disable telemetryArgument | What it does |
|---|---|
| One of |
config set
Change a preference.
alesia config set update-channel betaArgument | What it does |
|---|---|
|
|
| For |
policies
Show the policies that apply to this device.
policies list
alesia policies list --type modelRunning alesia policies with no subcommand does the same as policies list.
Flag | What it does |
|---|---|
| Show one kind of policy: |
| Fetch the latest policies from Alesia before listing. |
policies show
Show one policy.
alesia policies show <policy-id>Argument | What it does |
|---|---|
| The policy ID. You can use the full ID or a unique prefix. |
limits
Show the usage limits that apply to this device.
limits list
alesia limits list --provider anthropicRunning alesia limits with no subcommand does the same as limits list.
Flag | What it does |
|---|---|
| Fetch the latest limits from Alesia before listing. |
| Show the limit for one provider, for example |
warnings
Show and answer warnings. A warning asks you to decide whether to continue an action that a policy flagged.
warnings list
List the warnings waiting for an answer.
alesia warnings listRunning alesia warnings with no subcommand does the same as warnings list.
warnings answer
Answer a warning by its key, which warnings list shows.
alesia warnings answer <key> continueArgument or flag | What it does |
|---|---|
| The warning key, from |
|
|
| For a |
warnings watch
Watch for new warnings and answer each one as it arrives.
alesia warnings watchincidents
Show policy incidents.
incidents list
alesia incidents list --limit 50 --hide-watchedRunning alesia incidents with no subcommand does the same as incidents list.
Flag | What it does |
|---|---|
| Maximum number of incidents to return. Default: 25. |
| Hide incidents that only logged a watch, with no block or warning. |
incidents show
Show one incident.
alesia incidents show <incident-id>Argument | What it does |
|---|---|
| The incident ID. |
logs
Show the notifications log for headless operation.
alesia logs --followFlag | What it does |
|---|---|
| Keep printing new entries as they arrive. |
| Number of recent lines to show. Default: 20. |
update
Check for an update to Alesia Core.
alesia update checkRunning alesia update with no subcommand also checks for an update.
uninstall
Uninstall Alesia Core from this device.
alesia uninstallFlag | What it does |
|---|---|
| Also remove local data and revoke the MITM root certificate authority. |
| Skip the confirmation prompt. |
completion
Print a shell completion script.
alesia completion zsh > ~/.zfunc/_alesiaArgument | What it does |
|---|---|
|
|
Need help?
Contact [EMAIL_JBNU7XSK].
Was this helpful?
Your feedback shapes what we write next.
