Docs

alien CLI

The alien CLI is the tool you and your CI use to build stacks, publish releases, onboard customers, and operate deployments. Your customers use alien-deploy instead.

This page is generated from the help output of version 3.3.47. Run alien <command> --help for the same text in your terminal.

Install

Install the latest stable release on macOS or Linux:

curl -fsSL https://alien.dev/install | sh

Other install methods:

MethodCommand
Homebrewbrew install alienplatform/tap/alien
npmnpm install -g @alienplatform/cli
Windows (PowerShell)irm https://alien.dev/install.ps1 | iex
A specific versioncurl -fsSL https://alien.dev/install | sh -s -- --version 3.3.41

Run alien upgrade to move to the latest stable release. It uses the same method you installed with.

Global flags

These flags work on every alien command.

FlagDescription
-C, --dir <path>Run as if alien was started in <path> instead of the current working directory.
--project <PROJECT>Project to manage (defaults to linked project or interactive bootstrap). Env: ALIEN_PROJECT.
--api-key <API_KEY>API key (for alien.dev, or with ALIEN_MANAGER_URL for a manager you run). Env: ALIEN_API_KEY.
--no-browserDon't open browser for authentication.
--workspace <WORKSPACE>alien.dev workspace. Env: ALIEN_WORKSPACE.

Commands

CommandDescription
alien loginPerform login & select default workspace.
alien logoutRemove saved tokens & workspace.
alien whoamiShow current authenticated user information.
alien workspacesWorkspace commands.
alien projectsProject commands.
alien linkLink directory to an Alien project.
alien unlinkUnlink directory from an Alien project.
alien initScaffold a new project from a template.
alien upgradeUpgrade the Alien CLI to the latest stable or canary version.
alien devLocal development commands.
alien buildBuild the Alien application.
alien releasePush images and create a release.
alien releasesRelease commands.
alien renderRender setup artifacts for review.
alien packagesList, inspect, rebuild, and download project packages.
alien onboardCreate a deployment group and generate a deployment link.
alien deployment-groupsList, inspect, and change project deployment groups.
alien deployDeploy to a cloud platform.
alien deploymentsDeployment commands.
alien statusShow deployment status for the linked project or one deployment.
alien destroyDestroy resources from a deployment.
alien vaultManage vault secrets for a deployment.
alien logsSearch deployment and manager logs.
alien commandsInvoke remote commands on deployments.
alien operationsBuild, test, and manage operations plugins.
alien access-requestsRequest, approve, and deny time-boxed operation access.
alien debugRun a local command against a deployment using manager-side credentials.
alien api-keysCreate, inspect, disable, and revoke API keys.
alien tokensCreate and revoke scoped tokens on your manager.
alien managersManage private managers deployed to your cloud.
alien domainsManage workspace domains.
alien serveRun a manager on this machine.
alien examplesPrint executable integration examples.
alien usageShow AI and Encryption Gateway usage.

Account and project

alien login

Perform login & select default workspace.

alien login [OPTIONS]
FlagDescription
--manager <URL>URL of a manager you run (instead of alien.dev).
--token <TOKEN>API key for --manager (prompted for when omitted in a terminal). Env: ALIEN_API_KEY.

Examples:

alien login
alien login --workspace my-workspace
alien login --manager https://manager.example.com --token ax_admin_...

alien logout

Remove saved tokens & workspace.

alien logout [OPTIONS]

alien whoami

Show current authenticated user information.

alien whoami [OPTIONS]
FlagDescription
--jsonEmit structured JSON output.

Examples:

alien whoami
alien whoami --json
alien dev whoami

alien workspaces

Workspace commands.

alien workspaces [OPTIONS] <COMMAND>
SubcommandDescription
currentPrint the effective current workspace.
createCreate a workspace and select it as the default.
setSet the default workspace.
lsList all available workspaces.
FlagDescription
--jsonEmit structured JSON output.

Examples:

alien workspaces current
alien workspaces create my-workspace
alien workspaces ls
alien workspaces set my-workspace
alien workspaces set --json

alien workspaces current

Print the effective current workspace.

alien workspaces current [OPTIONS]
FlagDescription
--jsonEmit structured JSON output.

alien workspaces create

Create a workspace and select it as the default.

alien workspaces create [OPTIONS] <NAME>
ArgumentDescription
<NAME>Permanent workspace name used in URLs and CLI commands.
FlagDescription
--jsonEmit structured JSON output.

alien workspaces set

Set the default workspace.

alien workspaces set [OPTIONS] [NAME]
ArgumentDescription
[NAME]Workspace name. If omitted in a real TTY, prompts for selection.
FlagDescription
--jsonEmit structured JSON output.

alien workspaces ls

List all available workspaces.

alien workspaces ls [OPTIONS]
FlagDescription
--jsonEmit structured JSON output.

alien projects

Project commands.

alien projects [OPTIONS] <COMMAND>
SubcommandDescription
createCreate an ordinary project.
lsList projects.
getShow project configuration and enabled capabilities.
deleteDelete a project. The platform refuses while it still has deployments.
portalManage deployment portal appearance, domain, and Google sign-in.
packagesInspect or update installation package settings.
capabilitiesInspect and enable project capabilities.
FlagDescription
--jsonEmit structured JSON output.

Examples:

alien projects create my-project
alien projects get my-project
alien projects describe my-project --json
alien projects list
alien projects ls --json
alien --workspace my-workspace projects ls
alien projects packages get my-project --workspace my-workspace --json
alien projects packages update my-project --workspace my-workspace --file settings.json
alien projects portal get my-project --json
alien projects portal set my-project --title Acme --accent-color green
alien projects capabilities status
alien projects capabilities enable ai --model byo/claude-opus-5
alien projects capabilities enable encryption
alien projects capabilities enable remote-sandbox --image public.ecr.aws/example/analysis:v1 --max-session-lifetime-seconds 3600
alien projects capabilities enable remote-sandbox --src ./sandbox --max-session-lifetime-seconds 3600
alien projects capabilities enable remote-sandbox --src ./sandbox --dockerfile Sandbox.dockerfile --max-session-lifetime-seconds 3600
alien projects capabilities enable remote-sandbox --src ./sandbox --rebuild --max-session-lifetime-seconds 3600

alien projects create

Create an ordinary project.

alien projects create [OPTIONS] <NAME>
ArgumentDescription
<NAME>Project name.
FlagDescription
--jsonEmit structured JSON output.

alien projects ls

List projects.

Alias: list.

alien projects ls [OPTIONS]
FlagDescription
--jsonEmit structured JSON output.

alien projects get

Show project configuration and enabled capabilities.

Alias: describe, show.

alien projects get [OPTIONS] [PROJECT]
ArgumentDescription
[PROJECT]Project ID or name (defaults to the linked project).
FlagDescription
--jsonEmit structured JSON output.

alien projects delete

Delete a project. The platform refuses while it still has deployments.

Alias: rm.

alien projects delete [OPTIONS] <PROJECT>
ArgumentDescription
<PROJECT>Project ID or name.
FlagDescription
--jsonEmit structured JSON output.
-y, --yesSkip the confirmation prompt.

alien projects portal

Manage deployment portal appearance, domain, and Google sign-in.

alien projects portal [OPTIONS] <COMMAND>
SubcommandDescription
getPrint appearance, domain status, and Google sign-in settings.
setMerge appearance settings; omitted fields are preserved.
domainInspect domain status or select an existing verified domain.
google-sign-inInspect Google sign-in or configure its OAuth web client.
FlagDescription
--jsonEmit structured JSON output.

alien projects portal get

Print appearance, domain status, and Google sign-in settings.

alien projects portal get [OPTIONS] [PROJECT]
ArgumentDescription
[PROJECT]Project ID or name (defaults to the linked project).
FlagDescription
--jsonEmit structured JSON output.

alien projects portal set

Merge appearance settings; omitted fields are preserved. The API replaces the full appearance object and does not support conditional writes. Run appearance edits sequentially: concurrent edits from other clients can overwrite each other.

alien projects portal set [OPTIONS] [PROJECT]
ArgumentDescription
[PROJECT]Project ID or name (defaults to the linked project).
FlagDescription
--jsonEmit structured JSON output.
--title <TITLE>
--subtitle <SUBTITLE>
--preset <PRESET>Values: clean, technical, enterprise, playful, minimal.
--accent-color <ACCENT_COLOR>Values: blue, purple, green, orange, pink, slate.
--density <DENSITY>Values: comfortable, compact.
--avatar-url <AVATAR_URL>
--favicon-url <FAVICON_URL>
--support-url <SUPPORT_URL>
--docs-url <DOCS_URL>
--clear <CLEAR>Reset a nullable field to its default; repeat for multiple fields. Values: title, subtitle, avatar-url, favicon-url, support-url, docs-url.
--file <FILE>Partial JSON object; flags override the file. Use - for stdin.

alien projects portal domain

Inspect domain status or select an existing verified domain.

alien projects portal domain [OPTIONS] [PROJECT]
ArgumentDescription
[PROJECT]Project ID or name (defaults to the linked project).
FlagDescription
--jsonEmit structured JSON output.
--use <DOMAIN>Existing domain ID or hostname.
--unsetReturn to the default domain.

alien projects portal google-sign-in

Inspect Google sign-in or configure its OAuth web client.

alien projects portal google-sign-in [OPTIONS] [PROJECT]
ArgumentDescription
[PROJECT]Project ID or name (defaults to the linked project).
FlagDescription
--alien-managedUse the Alien-managed OAuth client.
--jsonEmit structured JSON output.
--client-id <CLIENT_ID>Google OAuth web client ID.
--client-secret-file <CLIENT_SECRET_FILE>Read the write-only secret from a file or - for stdin.

alien projects packages

Inspect or update installation package settings.

alien projects packages [OPTIONS] <COMMAND>
SubcommandDescription
getPrint the project's installation package settings as JSON.
updateMerge settings from JSON; omitted fields are preserved.
FlagDescription
--jsonEmit structured JSON output.

alien projects packages get

Print the project's installation package settings as JSON.

alien projects packages get [OPTIONS] [PROJECT]
ArgumentDescription
[PROJECT]Project ID or name (defaults to the linked project).
FlagDescription
--jsonEmit structured JSON output.

alien projects packages update

Merge settings from JSON; omitted fields are preserved.

alien projects packages update [OPTIONS] --file <FILE> [PROJECT]
ArgumentDescription
[PROJECT]Project ID or name (defaults to the linked project).
FlagDescription
--file <FILE>JSON patch file; use - to read standard input. Set a package to null to remove it.
--jsonEmit structured JSON output.

alien projects capabilities

Inspect and enable project capabilities.

alien projects capabilities [OPTIONS] <COMMAND>
SubcommandDescription
statusShow configured capabilities and customer readiness.
enableEnable or replace one capability's configuration.
FlagDescription
--jsonEmit structured JSON output.

alien projects capabilities status

Show configured capabilities and customer readiness.

Alias: get, describe, show.

alien projects capabilities status [OPTIONS]
FlagDescription
--jsonEmit structured JSON output.

alien projects capabilities enable

Enable or replace one capability's configuration.

alien projects capabilities enable [OPTIONS] <CAPABILITY>
ArgumentDescription
<CAPABILITY>Values: deployments, ai, encryption, buckets, registry, remote-sandbox.
FlagDescription
--jsonEmit structured JSON output.
--model <MODELS>AI model to offer. Repeat for multiple models.
--required-model <REQUIRED_MODELS>AI model that every customer must connect. Also enables the model.
--provider <PROVIDERS>Allowed AI provider. Repeat for multiple providers. Values: aws-bedrock, gcp-vertex, azure-foundry, anthropic, databricks, openai.
--repository <REPOSITORIES>Registry repository allowlist entry. Repeat for multiple repositories.
--pushPermit registry pushes in addition to pulls.
--image <IMAGE>Prebuilt public container image the sandbox starts from. It needs a linux/arm64 variant, which runs on AWS; a linux/amd64 variant also runs it on Azure, and on GCP once Alien has added the sandbox agent to it. GCP gets no copy when the project's default GCP manager is a private manager, or when the variant's layers total more than 512 MiB compressed or leave their sizes out. For a private image, use --src. Omit to keep the saved image, or to use the platform's default images when none is saved.
--src <SRC>Directory with a Dockerfile, built locally with Docker and pushed to the project's private repository on each cloud. The AWS image (linux/arm64) is required. Azure and GCP each get a linux/amd64 image only when the project has a manager there and the base image has a linux/amd64 variant.
--dockerfile <DOCKERFILE>Dockerfile path relative to --src (default: Dockerfile).
--rebuildBuild and push even when --src looks unchanged. The check reads the files Docker sends as the build context, and the images in FROM by name only.
--max-session-lifetime-seconds <MAX_SESSION_LIFETIME_SECONDS>Ceiling on a single sandbox session, in seconds. Defaults to the saved value, else 3600.

Link directory to an Alien project.

alien link [OPTIONS]
FlagDescription
--no-gitDo not attach detected git repository metadata when creating a project.
--jsonEmit structured JSON output.
--forceForce re-linking even if this directory is already linked.

Examples:

alien link
alien link --project my-project
alien --workspace my-workspace link --project my-project --json

Unlink directory from an Alien project.

alien unlink [OPTIONS]
FlagDescription
--forceForce unlink without confirmation.

alien init

Scaffold a new project from a template.

alien init [OPTIONS] [TEMPLATE] [DIRECTORY]
ArgumentDescription
[TEMPLATE]Template to use (omit for interactive selection).
[DIRECTORY]Destination directory. Defaults to alien inside an existing repository and to the current directory when it is empty.
FlagDescription
--forceOverwrite target directory if it exists.

alien upgrade

Upgrade the Alien CLI to the latest stable or canary version.

Alias: update.

alien upgrade [OPTIONS]
FlagDescription
--dry-runCheck what would be installed without changing anything.
--canaryInstall the latest canary build (standalone installations only).
--forceReinstall even when the selected version matches the current version.

Local development

alien dev

Local development commands.

alien dev [OPTIONS] [COMMAND]
SubcommandDescription
serverStart the local manager only.
deploymentsDeployment commands against the local manager.
releasesRelease commands against the local manager.
whoamiShow local manager identity information.
deployDeploy to the local manager.
destroyDestroy from the local manager.
releaseCreate a release on the local manager.
vaultManage vault secrets for local dev deployments.
commandsInvoke remote commands on local dev deployments.
debugRun a local command against a local dev deployment using manager-side credentials.
FlagDescription
--port <PORT>Dev server port. Default: 9090.
-c, --config <CONFIG>Path to configuration file (default: auto-discover alien.ts in current directory).
--skip-buildSkip the build step (use existing build artifacts).
--status-file <STATUS_FILE>Path to write status file (JSON with alien_core::DevStatus).
--deployment-name <DEPLOYMENT_NAME>Deployment name, or an existing ID / group/name to migrate legacy local state. Default: default.
--env <ENV_VARS>Plain environment variables (KEY=VALUE or KEY=VALUE:target1,target2).
--secret <SECRET_VARS>Secret environment variables (KEY=VALUE or KEY=VALUE:target1,target2).
--secret-file <SECRET_FILES>Secret environment variables read from files (KEY=PATH or KEY=PATH:target1,target2).
--secret-env <SECRET_ENV_VARS>Secret environment variables inherited from the CLI environment (KEY=SOURCE_ENV or KEY=SOURCE_ENV:target1,target2).

alien dev server

Start the local manager only.

alien dev server [OPTIONS]
FlagDescription
--port <PORT>Dev server port. Default: 9090.

alien dev deployments

Deployment commands against the local manager.

alien dev deployments [OPTIONS] <COMMAND>
SubcommandDescription
set-domainsUse managed certificates for endpoint hostnames, or restore generated domains.
createCreate a new deployment.
lsList deployments.
getGet deployment details.
resourcesShow a safe resource summary without resource configuration or secrets.
eventsShow deployment lifecycle and configuration events.
waitWait until a deployment is ready or reaches a terminal state.
machinesShow the machines connected to a deployment.
drain-machineDrain a machine so its workloads move to other machines.
cancel-machine-drainCancel a machine drain so the machine takes work again.
remove-machineRemove a machine from a deployment.
join-tokensList, create, rotate, and revoke tokens that join hosts to a Machines deployment.
volumesShow container volumes, their latest snapshots and restores.
restore-volumeReplace a replica's persistent volume with a volume made from a snapshot.
cancel-volume-restoreCancel a pending volume restore.
deleteDelete a deployment.
retryRetry a deployment.
redeployRedeploy a deployment with the same release.
moveMove a deployment to another group without changing its runtime.
pinPin a deployment to a specific release.
set-computeChange machine counts, machine type, or quota warning overrides of a deployment.
set-envReplace the environment variables of a deployment.
inputsShow a deployment's stack inputs and their current values.
set-inputsChange stack inputs of a deployment.
checkAsk the manager to check the deployment's health now.
set-channelChange the channel followed by an unpinned deployment.
tokenCreate a deployment token (deployment-scoped API key).
untrackForget a deployment this machine tracks locally, discarding its stored key.
FlagDescription
--port <PORT>Dev server port. Default: 9090.

Related commands:

alien logs --deployment production/api --follow
alien debug production/api -- <command>
alien commands --help

Examples:

alien deployments list
alien deployments describe production/api
alien deployments resources production/api --json
alien deployments events production/api
alien deployments wait production/api --for ready --timeout 10m
alien deployments machines production/api --json
alien deployments set-compute production/api --machines 3
alien deployments set-inputs production/api --input region=eu-west-1
alien deployments drain-machine production/api <machine-id>
alien deployments join-tokens create production/api
alien deployments untrack my-sandbox

alien dev deployments set-domains

Use managed certificates for endpoint hostnames, or restore generated domains.

alien dev deployments set-domains [OPTIONS] --resource <RESOURCE> <ID>
ArgumentDescription
<ID>Deployment ID or reference.
FlagDescription
--port <PORT>Dev server port. Default: 9090.
--resource <RESOURCE>
--endpoint <ENDPOINTS>Endpoint name and hostname (repeat for each endpoint).
--clearRestore generated domains for this resource.
--json

alien dev deployments create

Create a new deployment.

alien dev deployments create [OPTIONS] --name <NAME> --project <PROJECT> --deployment-group <DEPLOYMENT_GROUP> --platform <PLATFORM>
FlagDescription
--name <NAME>Deployment display name.
--port <PORT>Dev server port. Default: 9090.
--deployment-group <DEPLOYMENT_GROUP>Deployment group ID (required).
--platform <PLATFORM>Platform (aws, gcp, azure).
--resource-prefix <RESOURCE_PREFIX>Physical-name prefix for generated cloud resources. Omit to let the manager generate one.
--env <ENV>Plain environment variables in KEY=VALUE format (can be used multiple times).
--secret <SECRET>Secret environment variables in KEY=VALUE format (can be used multiple times).
--env-targeted <ENV_TARGETED>Plain environment variables with target functions in KEY=VALUE:pattern1,pattern2 format (can be used multiple times).
--secret-targeted <SECRET_TARGETED>Secret environment variables with target functions in KEY=VALUE:pattern1,pattern2 format (can be used multiple times).
--no-pushDisable push (Operator handles deployments instead of manager).
--no-heartbeatDisable heartbeat capability.
--monitoring <MONITORING>Telemetry / monitoring mode. "auto" (default) uses the parent manager's built-in log store or external OTLP integration. "off" disables all monitoring. Values: auto (Automatically use the best available OTLP config: the parent manager's built-in log store or external OTLP integration (e.g. Axiom, Datadog)), off (Disable all monitoring: no OTLP logs for containers or worker VMs). Default: auto.

Network options:

FlagDescription
--endpoint-access <ENDPOINT_ACCESS>Who can reach public endpoints: internet or private (AWS managed containers only).
--network <NETWORK_MODE>Network mode: auto, use-default, create, byo. auto (system decides (create VPC if containers need it, skip otherwise) use-default ) use cloud provider's default VPC (fast, good for dev) create (create an isolated VPC (production-grade) byo ) bring your own VPC/VNet. Default: auto.
--network-cidr <NETWORK_CIDR>VPC CIDR block (create mode only, auto-generated if omitted).
--availability-zones <AVAILABILITY_ZONES>Number of availability zones (create mode only, default: 2).
--vpc-id <VPC_ID>Existing VPC ID (byo mode, AWS).
--public-subnet-ids <PUBLIC_SUBNET_IDS>Comma-separated public subnet IDs (byo mode, AWS).
--private-subnet-ids <PRIVATE_SUBNET_IDS>Comma-separated private subnet IDs (byo mode, AWS).
--security-group-ids <SECURITY_GROUP_IDS>Comma-separated security group IDs (byo mode, AWS, optional).
--network-name <NETWORK_NAME>Existing VPC network name (byo mode, GCP).
--subnet-name <SUBNET_NAME>Subnet name (byo mode, GCP).
--network-region <NETWORK_REGION>Subnet region (byo mode, GCP).
--vnet-resource-id <VNET_RESOURCE_ID>Existing VNet resource ID (byo mode, Azure).
--public-subnet-name <PUBLIC_SUBNET_NAME>Public subnet name (byo mode, Azure).
--private-subnet-name <PRIVATE_SUBNET_NAME>Private subnet name (byo mode, Azure).
--format <FORMAT>Output format (json or text). Default: text.

alien dev deployments ls

List deployments.

Alias: list.

alien dev deployments ls [OPTIONS]
FlagDescription
--port <PORT>Dev server port. Default: 9090.
--jsonPrint machine-readable JSON.

alien dev deployments get

Get deployment details.

Alias: describe, show, status.

alien dev deployments get [OPTIONS] <ID>
ArgumentDescription
<ID>Deployment ID, or <deployment-group-name>/<deployment-name>.
FlagDescription
--jsonPrint machine-readable JSON.
--port <PORT>Dev server port. Default: 9090.

alien dev deployments resources

Show a safe resource summary without resource configuration or secrets.

alien dev deployments resources [OPTIONS] <ID>
ArgumentDescription
<ID>Deployment ID, or <deployment-group-name>/<deployment-name>.
FlagDescription
--jsonPrint stable machine-readable JSON.
--port <PORT>Dev server port. Default: 9090.

alien dev deployments events

Show deployment lifecycle and configuration events.

alien dev deployments events [OPTIONS] <ID>
ArgumentDescription
<ID>Deployment ID, or <deployment-group-name>/<deployment-name>.
FlagDescription
--limit <LIMIT>Maximum number of recent events to return. Default: 20.
--port <PORT>Dev server port. Default: 9090.
--jsonPrint the API response as machine-readable JSON.

alien dev deployments wait

Wait until a deployment is ready or reaches a terminal state.

alien dev deployments wait [OPTIONS] <ID>
ArgumentDescription
<ID>Deployment ID, or <deployment-group-name>/<deployment-name>.
FlagDescription
--for <CONDITION>Condition to wait for. Values: ready (Running with the desired release applied), terminal (Any synchronized success or failure state), deleted (Fully deleted). Default: ready.
--port <PORT>Dev server port. Default: 9090.
--timeout <TIMEOUT>Maximum wait duration in seconds, or with a unit such as 30s, 10m, or 1h. Default: 10m.
--interval <INTERVAL>Poll interval in seconds, optionally suffixed with s, m, or h. Default: 2s.
--jsonPrint a stable machine-readable result.

alien dev deployments machines

Show the machines connected to a deployment.

alien dev deployments machines [OPTIONS] <ID>
ArgumentDescription
<ID>Deployment ID, or <deployment-group-name>/<deployment-name>.
FlagDescription
--jsonPrint the complete inventory as machine-readable JSON.
--port <PORT>Dev server port. Default: 9090.

alien dev deployments drain-machine

Drain a machine so its workloads move to other machines.

The machine stops taking new work and its replicas are rescheduled. Undo it with alien deployments cancel-machine-drain.

alien dev deployments drain-machine [OPTIONS] <ID> <MACHINE_ID>
ArgumentDescription
<ID>Deployment ID, or <deployment-group-name>/<deployment-name>.
<MACHINE_ID>Machine ID, as shown by alien deployments machines.
FlagDescription
--deadline <DEADLINE>Report the drain as overdue if it hasn't finished after this long, such as 30m.
--port <PORT>Dev server port. Default: 9090.
--forceStop the machine's replicas without waiting for healthy replacements.
--yesSkip the confirmation prompt for --force.
--jsonPrint the result as machine-readable JSON.

alien dev deployments cancel-machine-drain

Cancel a machine drain so the machine takes work again.

alien dev deployments cancel-machine-drain [OPTIONS] <ID> <MACHINE_ID>
ArgumentDescription
<ID>Deployment ID, or <deployment-group-name>/<deployment-name>.
<MACHINE_ID>Machine ID, as shown by alien deployments machines.
FlagDescription
--jsonPrint the result as machine-readable JSON.
--port <PORT>Dev server port. Default: 9090.

alien dev deployments remove-machine

Remove a machine from a deployment.

Drain the machine first so its workloads move. A removed machine can't rejoin with its old identity.

alien dev deployments remove-machine [OPTIONS] <ID> <MACHINE_ID>
ArgumentDescription
<ID>Deployment ID, or <deployment-group-name>/<deployment-name>.
<MACHINE_ID>Machine ID, as shown by alien deployments machines.
FlagDescription
--port <PORT>Dev server port. Default: 9090.
--yesSkip confirmation prompt.
--jsonPrint the result as machine-readable JSON.

alien dev deployments join-tokens

List, create, rotate, and revoke tokens that join hosts to a Machines deployment.

Alias: join-token.

alien dev deployments join-tokens [OPTIONS] <COMMAND>
SubcommandDescription
listList a deployment's join tokens.
createCreate a join token. Existing tokens keep working.
rotateRevoke every join token and create a new one.
revokeRevoke one join token. Hosts that already joined keep running.
FlagDescription
--port <PORT>Dev server port. Default: 9090.

alien dev deployments join-tokens list

List a deployment's join tokens.

Alias: ls.

alien dev deployments join-tokens list [OPTIONS] <ID>
ArgumentDescription
<ID>Deployment ID, or <deployment-group-name>/<deployment-name>.
FlagDescription
--jsonPrint machine-readable JSON.
--port <PORT>Dev server port. Default: 9090.

alien dev deployments join-tokens create

Create a join token. Existing tokens keep working.

alien dev deployments join-tokens create [OPTIONS] <ID>
ArgumentDescription
<ID>Deployment ID, or <deployment-group-name>/<deployment-name>.
FlagDescription
--jsonPrint the token and join details as JSON.
--port <PORT>Dev server port. Default: 9090.

alien dev deployments join-tokens rotate

Revoke every join token and create a new one.

alien dev deployments join-tokens rotate [OPTIONS] <ID>
ArgumentDescription
<ID>Deployment ID, or <deployment-group-name>/<deployment-name>.
FlagDescription
--port <PORT>Dev server port. Default: 9090.
--yesSkip confirmation prompt.
--jsonPrint the token and join details as JSON.

alien dev deployments join-tokens revoke

Revoke one join token. Hosts that already joined keep running.

alien dev deployments join-tokens revoke [OPTIONS] <ID> <TOKEN_ID>
ArgumentDescription
<ID>Deployment ID, or <deployment-group-name>/<deployment-name>.
<TOKEN_ID>Token ID, as shown by alien deployments join-tokens list.
FlagDescription
--port <PORT>Dev server port. Default: 9090.
--yesSkip confirmation prompt.
--jsonPrint the result as machine-readable JSON.

alien dev deployments volumes

Show container volumes, their latest snapshots and restores.

alien dev deployments volumes [OPTIONS] <ID>
ArgumentDescription
<ID>Deployment ID, or <deployment-group-name>/<deployment-name>.
FlagDescription
--jsonPrint machine-readable JSON.
--port <PORT>Dev server port. Default: 9090.

alien dev deployments restore-volume

Replace a replica's persistent volume with a volume made from a snapshot.

The replica is stopped while its volume is swapped. The replaced volume is snapshotted before it is deleted, so the restore can be undone by restoring that snapshot.

alien dev deployments restore-volume [OPTIONS] --resource <RESOURCE> --ordinal <ORDINAL> --snapshot <SNAPSHOT> <ID>
ArgumentDescription
<ID>Deployment ID, or <deployment-group-name>/<deployment-name>.
FlagDescription
--port <PORT>Dev server port. Default: 9090.
--resource <RESOURCE>Container resource that owns the volume.
--ordinal <ORDINAL>Replica ordinal whose volume is replaced.
--snapshot <SNAPSHOT>Snapshot to restore, as shown by alien deployments volumes.
--yesSkip confirmation prompt.
--jsonPrint the restore request as machine-readable JSON.

alien dev deployments cancel-volume-restore

Cancel a pending volume restore.

Use it when a restore keeps failing. A restore whose volume was already swapped still finishes.

alien dev deployments cancel-volume-restore [OPTIONS] <ID> <REQUEST_ID>
ArgumentDescription
<ID>Deployment ID, or <deployment-group-name>/<deployment-name>.
<REQUEST_ID>Restore request ID, as shown by alien deployments volumes.
FlagDescription
--jsonPrint the cancelled request as machine-readable JSON.
--port <PORT>Dev server port. Default: 9090.

alien dev deployments delete

Delete a deployment.

alien dev deployments delete [OPTIONS] <ID>
ArgumentDescription
<ID>Deployment ID, or <deployment-group-name>/<deployment-name>.
FlagDescription
--force <DEPLOYMENT_NAME>Force-delete: remove Alien's record without touching your cloud, so the deployment group accepts new deployments again. For a deployment whose stack is already gone or whose cleanup keeps failing. Takes the deployment's name as confirmation; nothing is sent unless it matches. Cannot be combined with --yes.
--port <PORT>Dev server port. Default: 9090.
--erase-dataPermanently erase durable data instead of retaining it.
--yesSkip confirmation prompt.

alien dev deployments retry

Retry a deployment.

alien dev deployments retry [OPTIONS] <ID>
ArgumentDescription
<ID>Deployment ID, or <deployment-group-name>/<deployment-name>.
FlagDescription
--jsonPrint the updated deployment as machine-readable JSON.
--port <PORT>Dev server port. Default: 9090.

alien dev deployments redeploy

Redeploy a deployment with the same release.

alien dev deployments redeploy [OPTIONS] <ID>
ArgumentDescription
<ID>Deployment ID, or <deployment-group-name>/<deployment-name>.
FlagDescription
--port <PORT>Dev server port. Default: 9090.
--waitWait for this exact redeploy operation to finish.
--timeout <TIMEOUT>Maximum wait duration when --wait is used. Default: 10m.
--interval <INTERVAL>Poll interval when --wait is used. Default: 2s.
--jsonPrint the updated deployment as machine-readable JSON.

alien dev deployments move

Move a deployment to another group without changing its runtime.

alien dev deployments move [OPTIONS] --deployment-group <DEPLOYMENT_GROUP> <ID>
ArgumentDescription
<ID>Deployment ID, or <deployment-group-name>/<deployment-name>.
FlagDescription
--deployment-group <DEPLOYMENT_GROUP>Destination deployment group ID.
--port <PORT>Dev server port. Default: 9090.
--dry-runPreview eligibility without changing membership.
--expected-membership-revision <EXPECTED_MEMBERSHIP_REVISION>Revision from a previous preview (otherwise preview immediately).
--jsonPrint the server response as machine-readable JSON.

alien dev deployments pin

Pin a deployment to a specific release.

alien dev deployments pin [OPTIONS] <ID> [RELEASE_ID]
ArgumentDescription
<ID>Deployment ID.
[RELEASE_ID]Release ID to pin to (omit to unpin and use active release).
FlagDescription
--jsonPrint the pin response as machine-readable JSON.
--port <PORT>Dev server port. Default: 9090.

alien dev deployments set-compute

Change machine counts, machine type, or quota warning overrides of a deployment.

Pass --machines for a fixed pool, or --min and --max for an autoscaling pool; switching between them changes the pool's mode. The update replaces the deployment's whole pool map with the saved pools plus this change, so other pools are sent back as they were read. Container CPU and memory settings are not sent and stay as they are. Adding or removing pools, or changing their placement, needs a new setup.

alien dev deployments set-compute [OPTIONS] <ID>
ArgumentDescription
<ID>Deployment ID, or <deployment-group-name>/<deployment-name>.
FlagDescription
--pool <POOL>Pool to change (required when the deployment has more than one).
--port <PORT>Dev server port. Default: 9090.
--machines <MACHINES>Fixed number of machines.
--min <MIN>Minimum machine count for an autoscaling pool.
--max <MAX>Maximum machine count for an autoscaling pool.
--machine <MACHINE>Provider machine type, such as m6i.large. It must keep the pool's CPU architecture; the pool's machines are replaced to apply it.
--quota-warning-override <QUOTA_WARNING_OVERRIDES>Downgrade a quota failure to a visible warning (repeatable; replaces the saved list).
--clear-quota-warning-overridesRemove all saved quota warning overrides.
--yesSkip the confirmation prompt when scaling a pool to 0 machines.
--jsonPrint the update result as machine-readable JSON.

alien dev deployments set-env

Replace the environment variables of a deployment.

The variables you pass become the full set: any variable not listed is removed. Variables backed by stack inputs are kept; change those with alien deployments set-inputs.

alien dev deployments set-env [OPTIONS] <ID>
ArgumentDescription
<ID>Deployment ID, or <deployment-group-name>/<deployment-name>.
FlagDescription
--env <ENV>Plain environment variables in KEY=VALUE format (can be used multiple times).
--port <PORT>Dev server port. Default: 9090.
--secret <SECRET>Secret environment variables in KEY=VALUE format (can be used multiple times).
--env-targeted <ENV_TARGETED>Plain environment variables with target resources in KEY=VALUE:pattern1,pattern2 format (can be used multiple times).
--secret-targeted <SECRET_TARGETED>Secret environment variables with target resources in KEY=VALUE:pattern1,pattern2 format (can be used multiple times).
--clearRemove every environment variable.
--yesSkip confirmation prompt.
--jsonPrint the result as machine-readable JSON.

alien dev deployments inputs

Show a deployment's stack inputs and their current values.

alien dev deployments inputs [OPTIONS] <ID>
ArgumentDescription
<ID>Deployment ID, or <deployment-group-name>/<deployment-name>.
FlagDescription
--jsonPrint machine-readable JSON.
--port <PORT>Dev server port. Default: 9090.

alien dev deployments set-inputs

Change stack inputs of a deployment.

Values are read as in alien deploy: a JSON array of strings is a list, and anything else is text that Alien converts to the type the input declares (a number, true or false, or a comma-separated list). Inputs you don't pass keep their saved values.

alien dev deployments set-inputs [OPTIONS] <ID>
ArgumentDescription
<ID>Deployment ID, or <deployment-group-name>/<deployment-name>.
FlagDescription
--input <INPUTS>Input value in ID=VALUE format (can be used multiple times).
--port <PORT>Dev server port. Default: 9090.
--secret-input <SECRET_INPUTS>Secret input value in ID=VALUE format, sent as text (can be used multiple times).
--clear <CLEAR>Input to reset to its default (can be used multiple times).
--jsonPrint the saved inputs as machine-readable JSON.

alien dev deployments check

Ask the manager to check the deployment's health now.

alien dev deployments check [OPTIONS] <ID>
ArgumentDescription
<ID>Deployment ID, or <deployment-group-name>/<deployment-name>.
FlagDescription
--jsonPrint the result as machine-readable JSON.
--port <PORT>Dev server port. Default: 9090.

alien dev deployments set-channel

Change the channel followed by an unpinned deployment.

alien dev deployments set-channel [OPTIONS] <ID> <CHANNEL>
ArgumentDescription
<ID>Deployment ID.
<CHANNEL>Channel to follow.
FlagDescription
--jsonPrint the updated deployment as machine-readable JSON.
--port <PORT>Dev server port. Default: 9090.

alien dev deployments token

Create a deployment token (deployment-scoped API key).

Alias: tokens.

alien dev deployments token [OPTIONS] <ID>
ArgumentDescription
<ID>Deployment ID.
FlagDescription
--jsonPrint the token and deployment ID as JSON.
--port <PORT>Dev server port. Default: 9090.

alien dev deployments untrack

Forget a deployment this machine tracks locally, discarding its stored key.

alien dev deployments untrack [OPTIONS] <NAME>
ArgumentDescription
<NAME>Deployment name, as passed to alien deploy --name.
FlagDescription
--port <PORT>Dev server port. Default: 9090.

alien dev releases

Release commands against the local manager.

alien dev releases [OPTIONS] <COMMAND>
SubcommandDescription
lsList releases, newest first.
getShow a release and how far it has rolled out across deployments.
promoteMove a channel to an existing release.
channelsList the project's release channels.
create-channelCreate a release channel.
delete-channelDelete a non-production release channel.
FlagDescription
--port <PORT>Dev server port. Default: 9090.

alien dev releases ls

List releases, newest first.

Alias: list.

alien dev releases ls [OPTIONS]
FlagDescription
--port <PORT>Dev server port. Default: 9090.
--channel <CHANNEL>Only show releases that have been selected by this channel (defaults to production).
--all-channelsInclude releases that are not currently selected by any channel.
--jsonEmit the manager API response as machine-readable JSON.

alien dev releases get

Show a release and how far it has rolled out across deployments.

Alias: describe, show.

alien dev releases get [OPTIONS] <ID>
ArgumentDescription
<ID>Release ID (rel_…).
FlagDescription
--port <PORT>Dev server port. Default: 9090.
--jsonEmit machine-readable JSON.

alien dev releases promote

Move a channel to an existing release.

alien dev releases promote [OPTIONS] <ID>
ArgumentDescription
<ID>Release ID (rel_…).
FlagDescription
--channel <CHANNEL>Channel to advance. Default: production.
--port <PORT>Dev server port. Default: 9090.
--jsonEmit machine-readable JSON.

alien dev releases channels

List the project's release channels.

alien dev releases channels [OPTIONS]
FlagDescription
--port <PORT>Dev server port. Default: 9090.
--json

alien dev releases create-channel

Create a release channel.

alien dev releases create-channel [OPTIONS] <NAME>
ArgumentDescription
<NAME>
FlagDescription
--port <PORT>Dev server port. Default: 9090.
--release <RELEASE>Optional release to select initially.
--json

alien dev releases delete-channel

Delete a non-production release channel.

alien dev releases delete-channel [OPTIONS] <NAME>
ArgumentDescription
<NAME>
FlagDescription
--port <PORT>Dev server port. Default: 9090.

alien dev whoami

Show local manager identity information.

alien dev whoami [OPTIONS]
FlagDescription
--jsonEmit structured JSON output.
--port <PORT>Dev server port. Default: 9090.

Examples:

alien whoami
alien whoami --json
alien dev whoami

alien dev deploy

Deploy to the local manager.

alien dev deploy [OPTIONS]
FlagDescription
--port <PORT>Dev server port. Default: 9090.
--token <TOKEN>Deployment API key for authentication (optional if deployment is already tracked).
--token-file <TOKEN_FILE>Read the deployment API key from a file instead of exposing it in command arguments.
--name <NAME>Deployment name for identification in tracking.
--deployment-group <DEPLOYMENT_GROUP>Existing deployment group ID, name, or external ID for a new deployment. The group is inferred when --token contains a deployment-group key.
--platform <PLATFORM>Target platform for the deployment (aws, gcp, azure, machines).
--machinesCreate or update a Machines deployment and print a host join command.
--config <CONFIG>TOML file containing deployment settings.
--quota-warning-override <QUOTA_WARNING_OVERRIDES>Downgrade a quota failure to a visible warning for this deployment (repeatable).
--clear-quota-warning-overridesRemove all saved quota warning overrides from this deployment.
--validate-onlyValidate the config locally without authentication, API calls, or deployment tracking.
--input <INPUT_VALUES>Stack input value for setup (id=value).
--secret-input <SECRET_INPUT_VALUES>Secret stack input value for setup (id=value).
--setup-item <SETUP_ITEM>Customer setup item to install, for a deployment-group token whose group offers more than one. The API rejects the request without it. Values: application (The application itself), models (AI models in the customer's cloud), keys (Customer-managed encryption keys), storage (A storage bucket in the customer's cloud), registry (A container registry in the customer's cloud), sandbox (A remote sandbox).
--public-subdomain <PUBLIC_SUBDOMAIN>Public subdomain for deployments in your own environment. This is only accepted when creating a new deployment without --token.
--resource-prefix <RESOURCE_PREFIX>Physical-name prefix for generated cloud resources. Omit to let the manager generate one.
--no-heartbeatDisable heartbeat capability.
--automatic-setupGrant ongoing setup permissions for a new deployment in your own AWS, GCP or Azure environment. Alien can then add and change infrastructure without a separate setup run.
--monitoring <MONITORING>Telemetry / monitoring mode. "auto" (default) uses the parent manager's built-in log store or external OTLP integration. "off" disables all monitoring. Values: auto (Automatically use the best available OTLP config: the parent manager's built-in log store or external OTLP integration (e.g. Axiom, Datadog)), off (Disable all monitoring: no OTLP logs for containers or worker VMs). Default: auto.
--manager <MANAGER>Manager to use for deployment. Omit for auto-resolve (platform resolves from deployment record). Use "none" to deploy without a manager (e.g., bootstrapping the manager itself). Or pass a specific manager ID.
--channel <CHANNEL>Release channel followed by a newly created deployment. Default: production.

Network options:

FlagDescription
--endpoint-access <ENDPOINT_ACCESS>Who can reach public endpoints: internet or private (AWS managed containers only).
--network <NETWORK_MODE>Network mode: auto, use-default, create, byo. auto (system decides (create VPC if containers need it, skip otherwise) use-default ) use cloud provider's default VPC (fast, good for dev) create (create an isolated VPC (production-grade) byo ) bring your own VPC/VNet. Default: auto.
--network-cidr <NETWORK_CIDR>VPC CIDR block (create mode only, auto-generated if omitted).
--availability-zones <AVAILABILITY_ZONES>Number of availability zones (create mode only, default: 2).
--vpc-id <VPC_ID>Existing VPC ID (byo mode, AWS).
--public-subnet-ids <PUBLIC_SUBNET_IDS>Comma-separated public subnet IDs (byo mode, AWS).
--private-subnet-ids <PRIVATE_SUBNET_IDS>Comma-separated private subnet IDs (byo mode, AWS).
--security-group-ids <SECURITY_GROUP_IDS>Comma-separated security group IDs (byo mode, AWS, optional).
--network-name <NETWORK_NAME>Existing VPC network name (byo mode, GCP).
--subnet-name <SUBNET_NAME>Subnet name (byo mode, GCP).
--network-region <NETWORK_REGION>Subnet region (byo mode, GCP).
--vnet-resource-id <VNET_RESOURCE_ID>Existing VNet resource ID (byo mode, Azure).
--public-subnet-name <PUBLIC_SUBNET_NAME>Public subnet name (byo mode, Azure).
--private-subnet-name <PRIVATE_SUBNET_NAME>Private subnet name (byo mode, Azure).

Examples:

# Deploy to your own AWS environment
alien deploy --name production --platform aws --secret-input apiKey=...

# Deploy into an existing customer deployment group
alien deploy --deployment-group customer-123 --name production --platform aws

# Create a Machines deployment and print a host join command
alien deploy --name eu-prod --machines

# Set up a deployment from a customer deployment-group token
alien deploy --token dg_abc123... --name production --platform aws

# Deploy an existing deployment (uses stored API key)
alien deploy --name production --platform aws

# Read a deployment token from a protected file
alien deploy --token-file deployment-token.txt --name prod --platform aws

# Deploy without heartbeat capability
alien deploy --token ax_deployment_xyz... --name prod --platform aws --no-heartbeat

alien dev destroy

Destroy from the local manager.

alien dev destroy [OPTIONS] --name <NAME>
FlagDescription
--port <PORT>Dev server port. Default: 9090.
--token <TOKEN>Deployment API key for setup teardown (optional with local tracking or an Alien login).
--name <NAME>Deployment ID, <group>/<name>, or a unique deployment name in the selected project.
--platform <PLATFORM>Target platform (required by alien destroy; alien dev destroy is always local).
--forceForce-destroy: skip resource teardown and delete the record immediately.
--erase-dataPermanently erase durable data instead of retaining it. Also erases data an earlier destroy kept.
--yesSkip confirmation for cloud destruction (local dev destruction never prompts).

Examples:

# Destroy a tracked deployment
alien destroy --name production --platform aws

# Force-destroy (skip resource teardown)
alien destroy --name production --platform aws --force

alien dev release

Create a release on the local manager.

alien dev release [OPTIONS]
FlagDescription
--platforms <PLATFORMS>Target platforms to release (comma-separated). If not specified, auto-discovers from the manager's configured artifact registries, or releases all built platforms.
--port <PORT>Dev server port. Default: 9090.
--no-gitSkip git metadata collection.
--no-stackDeclare a stackless release: record a version (and git metadata) without building or pushing a stack. Use this to declare/enrich the release an operate (BYOC) environment is running. Requires --version.
--channel <CHANNEL>Channel to advance after creating the release. Default: production.
--no-promoteCreate the release without advancing a channel or scheduling deployment updates.
--title <TITLE>Human-readable title for this release.
--jsonEmit result JSON on stdout and plain progress lines on stderr. On failure, stderr ends with one JSON error document on its own line.
--base-platform <BASE_PLATFORM>Base cloud platform for Kubernetes auto-builds. This keeps the release stack under Kubernetes while using the managed cluster's default architecture when auto-building missing artifacts.
--prebuiltSkip the build and release the existing .alien output. Still pushes any local artifacts it contains, and reuses images that are already remote URIs.
--targets <TARGETS>Target OS/architecture combinations to build for (comma-separated). Same format as alien build --targets: e.g. linux-x64, linux-arm64. When omitted, targets follow the compute pools' CPU architecture, or the platform default if no pool specifies one. AWS daemons requiring nested virtualization default to linux-x64; other AWS deployments retain the linux-arm64 default. Explicit targets must match the stack's compute requirements.
--image-repo <IMAGE_REPO>Image repository URL (manual override - skips platform manager).
--registry-auth <REGISTRY_AUTH>Registry auth: "basic" or "anonymous".
--registry-protocol <REGISTRY_PROTOCOL>Registry protocol: "http" or "https".
--registry-username <REGISTRY_USERNAME>Registry username (required for basic auth).
--registry-password <REGISTRY_PASSWORD>Registry password (required for basic auth).

Examples:

# Standard release (auto-discovers platforms from manager config)
alien release

# Release for specific project (skip linking)
alien release --project my-project

# Release specific platforms only
alien release --platforms aws
alien release --platforms aws,gcp

# Skip the build and release the existing build output (still pushes local artifacts)
alien release --prebuilt

# Create a release now and promote its saved ID later
alien release --no-promote
alien releases promote <release-id> --channel production

# Output JSON (for scripting/automation)
alien release --json

# Manual registry override (for deploying manager or custom setups)
alien release --image-repo my-registry.com/my-app --registry-auth basic --registry-username user --registry-password pass

# Skip git metadata collection
alien release --no-git

alien dev vault

Manage vault secrets for local dev deployments.

alien dev vault [OPTIONS] <COMMAND>
SubcommandDescription
setSet a secret value in a vault.
getGet a secret value from a vault.
deleteDelete a secret from a vault.
listList all secrets in a vault.
FlagDescription
--port <PORT>Dev server port. Default: 9090.
--deployment <DEPLOYMENT>Target deployment ID or name (default: "default"). Default: default.
--state-dir <STATE_DIR>State directory (default: .alien). Default: .alien.

alien dev vault set

Set a secret value in a vault.

alien dev vault set [OPTIONS] <VAULT_NAME> <SECRET_NAME> [VALUE]
ArgumentDescription
<VAULT_NAME>Vault name (e.g., "customer-secrets").
<SECRET_NAME>Secret name (e.g., "GITHUB_TOKEN").
[VALUE]Secret value (prefer --stdin to keep it out of process arguments).
FlagDescription
--port <PORT>Dev server port. Default: 9090.
--stdinRead the exact secret bytes from stdin, without trimming whitespace.
--file <FILE>Read a UTF-8 file exactly, without adding a newline or exposing the value in arguments.
--deployment <DEPLOYMENT>Target deployment ID or name (default: "default"). Default: default.

alien dev vault get

Get a secret value from a vault.

alien dev vault get [OPTIONS] <VAULT_NAME> <SECRET_NAME>
ArgumentDescription
<VAULT_NAME>Vault name.
<SECRET_NAME>Secret name.
FlagDescription
--port <PORT>Dev server port. Default: 9090.
--deployment <DEPLOYMENT>Target deployment ID or name (default: "default"). Default: default.

alien dev vault delete

Delete a secret from a vault.

alien dev vault delete [OPTIONS] <VAULT_NAME> <SECRET_NAME>
ArgumentDescription
<VAULT_NAME>Vault name.
<SECRET_NAME>Secret name.
FlagDescription
--port <PORT>Dev server port. Default: 9090.
--deployment <DEPLOYMENT>Target deployment ID or name (default: "default"). Default: default.

alien dev vault list

List all secrets in a vault.

alien dev vault list [OPTIONS] <VAULT_NAME>
ArgumentDescription
<VAULT_NAME>Vault name.
FlagDescription
--port <PORT>Dev server port. Default: 9090.
--deployment <DEPLOYMENT>Target deployment ID or name (default: "default"). Default: default.

alien dev commands

Invoke remote commands on local dev deployments.

alien dev commands [OPTIONS] <COMMAND>
SubcommandDescription
invokeInvoke a command on a deployment and wait for the result.
FlagDescription
--port <PORT>Dev server port. Default: 9090.

alien dev commands invoke

Invoke a command on a deployment and wait for the result.

alien dev commands invoke [OPTIONS] --deployment <DEPLOYMENT> --command <COMMAND>
FlagDescription
--deployment <DEPLOYMENT>Deployment ID, or <deployment-group-name>/<deployment-name>.
--port <PORT>Dev server port. Default: 9090.
--command <COMMAND>Command name to invoke.
--target <TARGET>Resource ID to invoke when several resources handle commands.
--params <PARAMS>Command parameters as JSON (default: {}). Default: {}.
--timeout <TIMEOUT>Timeout in seconds (default: 60). Default: 60.

alien dev debug

Run a local command against a local dev deployment using manager-side credentials.

alien dev debug [OPTIONS] [DEPLOYMENT] [-- <CMD>...] [COMMAND]
SubcommandDescription
shellOpen an interactive shell in the deployment runtime.
execRun a non-interactive command in the deployment runtime.
ArgumentDescription
[DEPLOYMENT]Deployment ID (dep_...) or <group>/<name>.
[CMD]...Command and arguments to execute. Everything after -- is forwarded verbatim. If omitted, an interactive shell ($SHELL, or /bin/sh) is spawned instead.
FlagDescription
--port <PORT>Dev server port. Default: 9090.
--access-request <ACCESS_REQUEST>Access request id (ar_...) authorizing this debug session. Required for Remote Operator (pull-mode Kubernetes) deployments, where debugging shares the same approval flow as alien operations invoke. Create one with alien access-requests create --debug-tool <kubectl|aws|gcloud|az> ....
--request-accessShortcut: create a debug-tool access request for this deployment, wait for customer approval, then start the session against it. Creates the same access-request resource as alien access-requests create --debug-tool ....
--access-duration <ACCESS_DURATION>Requested approval duration for --request-access, e.g. 30m, 1h. Informational until approved; the approver sets the actual grant window. Default: 30m.
--access-cloud-scope <ACCESS_CLOUD_SCOPE>Scope the --request-access grant to a specific cloud account/project/ subscription, e.g. 123456789012/prod-readonly. Only meaningful for aws/gcloud/az (kubectl scopes by namespace, derived automatically from the debugged command). Omit for an unscoped grant covering the whole deployment's cloud identity.
--jsonEmit errors as JSON. The spawned command's stdout/stderr are always passed through unchanged.

Examples:

alien debug dep_abc123 -- aws sts get-caller-identity
alien debug acme/prod -- gcloud projects list
alien debug acme/prod -- kubectl get pods

# Remote Operator (pull-mode Kubernetes) deployments require an approved
# access request covering the tool + namespace/scope you're debugging:
alien access-requests create --deployment acme/prod \
  --debug-tool kubectl --debug-namespace acme --duration 30m
alien debug acme/prod --access-request ar_123 -- kubectl get pods -n acme

# No `--` arg drops you into a local interactive shell with the env set:
alien debug acme/prod

# Open an interactive shell in a Local deployment runtime:
alien debug shell acme/prod

# Run a non-interactive command in a Local deployment runtime:
alien debug exec acme/prod -- uname -a
alien debug exec acme/prod -- powershell.exe -NoLogo -Command Get-Process

See also: /docs/production/remote-operator/debug.

alien dev debug shell

Open an interactive shell in the deployment runtime.

alien dev debug shell [OPTIONS] <DEPLOYMENT>
ArgumentDescription
<DEPLOYMENT>Deployment ID (dep_...) or <group>/<name>.
FlagDescription
--port <PORT>Dev server port. Default: 9090.
--resource <RESOURCE>Container or daemon resource ID to attach to.
--machine <MACHINE>Machine ID to attach to directly.
--jsonEmit errors as JSON.

Examples:

alien debug shell acme/prod

alien dev debug exec

Run a non-interactive command in the deployment runtime.

alien dev debug exec [OPTIONS] <DEPLOYMENT> -- <CMD>...
ArgumentDescription
<DEPLOYMENT>Deployment ID (dep_...) or <group>/<name>.
<CMD>...Command and arguments to execute remotely.
FlagDescription
--port <PORT>Dev server port. Default: 9090.
--resource <RESOURCE>Container or daemon resource ID to attach to.
--machine <MACHINE>Machine ID to attach to directly.
--timeout-seconds <TIMEOUT_SECONDS>Timeout in seconds for the remote command. Default: 120.
--jsonEmit structured JSON with captured output.

Examples:

alien debug exec acme/prod -- uname -a
alien debug exec acme/prod -- powershell.exe -NoLogo -Command Get-Process

Build and release

alien build

Build the Alien application.

alien build [OPTIONS]
SubcommandDescription
planCompute the native-runner build groups for the stack's supported platforms.
mergeMerge partial build outputs (one per native runner) into one .alien directory.
FlagDescription
-c, --config <CONFIG>Path to alien.ts/js/json file or directory containing it.
-o, --output-dir <OUTPUT_DIR>Output directory.
--platforms <PLATFORMS>Target platforms (comma-separated). When omitted, uses platforms declared by the stack. Examples: aws, gcp, azure, aws,gcp.
--targets <TARGETS>Target OS/architecture combinations (comma-separated).
--aws-managing-account-id <AWS_MANAGING_ACCOUNT_ID>AWS managing account ID.
--base-platform <BASE_PLATFORM>Base cloud platform for Kubernetes builds. This keeps the output platform as Kubernetes while using the managed cluster's default architecture.
--cache-url <CACHE_URL>Cache URL for build caching (for example s3://bucket/path).
--jsonEmit result JSON on stdout and plain progress lines on stderr. On failure, stderr ends with one JSON error document on its own line.

Examples:

alien build --platform aws
alien build --platforms aws,gcp
alien build --platform aws --targets linux-arm64
alien build --config ../my-app/alien.ts --output-dir ./build --platform aws
alien build --platform aws --json
alien build plan --json
alien build merge --input ./build-artifacts --output .alien

alien build plan

Compute the native-runner build groups for the stack's supported platforms.

alien build plan [OPTIONS]
FlagDescription
-c, --config <CONFIG>Path to alien.ts/js/json file or directory containing it.
--jsonEmit structured JSON output.

Examples:

alien build plan
alien build plan --json

alien build merge

Merge partial build outputs (one per native runner) into one .alien directory.

alien build merge [OPTIONS] --input <INPUT> --output <OUTPUT>
FlagDescription
--input <INPUT>Directory of downloaded partial outputs (each subdir holds build/<platform>/).
--output <OUTPUT>Output directory for the merged .alien build.
--jsonEmit structured JSON output.

Examples:

alien build merge --input ./build-artifacts --output .alien

alien release

Push images and create a release.

alien release [OPTIONS]
FlagDescription
--platforms <PLATFORMS>Target platforms to release (comma-separated). If not specified, auto-discovers from the manager's configured artifact registries, or releases all built platforms.
--no-gitSkip git metadata collection.
--no-stackDeclare a stackless release: record a version (and git metadata) without building or pushing a stack. Use this to declare/enrich the release an operate (BYOC) environment is running. Requires --version.
--channel <CHANNEL>Channel to advance after creating the release. Default: production.
--no-promoteCreate the release without advancing a channel or scheduling deployment updates.
--title <TITLE>Human-readable title for this release.
--jsonEmit result JSON on stdout and plain progress lines on stderr. On failure, stderr ends with one JSON error document on its own line.
--base-platform <BASE_PLATFORM>Base cloud platform for Kubernetes auto-builds. This keeps the release stack under Kubernetes while using the managed cluster's default architecture when auto-building missing artifacts.
--prebuiltSkip the build and release the existing .alien output. Still pushes any local artifacts it contains, and reuses images that are already remote URIs.
--targets <TARGETS>Target OS/architecture combinations to build for (comma-separated). Same format as alien build --targets: e.g. linux-x64, linux-arm64. When omitted, targets follow the compute pools' CPU architecture, or the platform default if no pool specifies one. AWS daemons requiring nested virtualization default to linux-x64; other AWS deployments retain the linux-arm64 default. Explicit targets must match the stack's compute requirements.
--image-repo <IMAGE_REPO>Image repository URL (manual override - skips platform manager).
--registry-auth <REGISTRY_AUTH>Registry auth: "basic" or "anonymous".
--registry-protocol <REGISTRY_PROTOCOL>Registry protocol: "http" or "https".
--registry-username <REGISTRY_USERNAME>Registry username (required for basic auth).
--registry-password <REGISTRY_PASSWORD>Registry password (required for basic auth).

Examples:

# Standard release (auto-discovers platforms from manager config)
alien release

# Release for specific project (skip linking)
alien release --project my-project

# Release specific platforms only
alien release --platforms aws
alien release --platforms aws,gcp

# Skip the build and release the existing build output (still pushes local artifacts)
alien release --prebuilt

# Create a release now and promote its saved ID later
alien release --no-promote
alien releases promote <release-id> --channel production

# Output JSON (for scripting/automation)
alien release --json

# Manual registry override (for deploying manager or custom setups)
alien release --image-repo my-registry.com/my-app --registry-auth basic --registry-username user --registry-password pass

# Skip git metadata collection
alien release --no-git

alien releases

Release commands.

alien releases [OPTIONS] <COMMAND>
SubcommandDescription
lsList releases, newest first.
getShow a release and how far it has rolled out across deployments.
promoteMove a channel to an existing release.
channelsList the project's release channels.
create-channelCreate a release channel.
delete-channelDelete a non-production release channel.

alien releases ls

List releases, newest first.

Alias: list.

alien releases ls [OPTIONS]
FlagDescription
--channel <CHANNEL>Only show releases that have been selected by this channel (defaults to production).
--all-channelsInclude releases that are not currently selected by any channel.
--jsonEmit the manager API response as machine-readable JSON.

alien releases get

Show a release and how far it has rolled out across deployments.

Alias: describe, show.

alien releases get [OPTIONS] <ID>
ArgumentDescription
<ID>Release ID (rel_…).
FlagDescription
--jsonEmit machine-readable JSON.

alien releases promote

Move a channel to an existing release.

alien releases promote [OPTIONS] <ID>
ArgumentDescription
<ID>Release ID (rel_…).
FlagDescription
--channel <CHANNEL>Channel to advance. Default: production.
--jsonEmit machine-readable JSON.

alien releases channels

List the project's release channels.

alien releases channels [OPTIONS]
FlagDescription
--json

alien releases create-channel

Create a release channel.

alien releases create-channel [OPTIONS] <NAME>
ArgumentDescription
<NAME>
FlagDescription
--release <RELEASE>Optional release to select initially.
--json

alien releases delete-channel

Delete a non-production release channel.

alien releases delete-channel [OPTIONS] <NAME>
ArgumentDescription
<NAME>

alien render

Render setup artifacts for review.

alien render [OPTIONS] --format <FORMAT> --stack <STACK>
FlagDescription
--format <FORMAT>Artifact format to render. Values: cloudformation, terraform, helm.
--target <TARGET>Terraform target. Required for --format terraform. Values: aws, gcp, azure, eks, gke, aks.
--stack <STACK>Path to alien.ts, alien.js, alien.json, or a directory containing one.
--output <OUTPUT>Output directory. Defaults to stdout.
--check-quotasCheck AWS quotas for a new installation before writing artifacts. Uses target AWS credentials and region from the environment; apply must use the same account and region.
--registration-mode <REGISTRATION_MODE>CloudFormation registration behavior. Values: auto, outputs, both. Default: auto.
--notification-lambda-arn <NOTIFICATION_LAMBDA_ARN>Lambda ARN for CloudFormation auto-registration. Env: ALIEN_CFN_NOTIFICATION_LAMBDA_ARN.
--stack-settings <STACK_SETTINGS>Optional YAML or JSON StackSettings override.
--jsonEmit CloudFormation JSON instead of YAML.

alien packages

List, inspect, rebuild, and download project packages.

alien packages [OPTIONS] <COMMAND>
SubcommandDescription
listList packages for a project.
getShow one package and its outputs.
rebuildBuild the project's packages again from its package settings.
cancelCancel a pending or building package.
downloadDownload an artifact from a ready package.
FlagDescription
--jsonEmit machine-readable JSON.

Examples:

alien packages list --status failed
alien packages get pkg_abc123
alien packages rebuild
alien packages cancel pkg_abc123
alien packages download pkg_abc123 --artifact linux-x64

alien packages list

List packages for a project.

Alias: ls.

alien packages list [OPTIONS]
FlagDescription
--type <PACKAGE_TYPE>Filter by package type.
--status <STATUS>Filter by package status.
--search <SEARCH>Search package type or version.
--jsonEmit machine-readable JSON.

alien packages get

Show one package and its outputs.

Alias: describe, show.

alien packages get [OPTIONS] <ID>
ArgumentDescription
<ID>Package ID.
FlagDescription
--jsonEmit machine-readable JSON.

alien packages rebuild

Build the project's packages again from its package settings.

Pending and building packages are cancelled and replaced by new versions. Use it when a build failed for a reason that is now fixed.

alien packages rebuild [OPTIONS]
FlagDescription
--yesSkip the confirmation prompt.
--jsonEmit machine-readable JSON.

alien packages cancel

Cancel a pending or building package.

alien packages cancel [OPTIONS] <ID>
ArgumentDescription
<ID>Package ID.
FlagDescription
--yesSkip the confirmation prompt.
--jsonEmit machine-readable JSON.

alien packages download

Download an artifact from a ready package.

alien packages download [OPTIONS] <ID>
ArgumentDescription
<ID>Package ID.
FlagDescription
--artifact <ARTIFACT>Artifact path or unique suffix, such as binaries.linux-x64 or linux-x64.
-o, --output <OUTPUT>Destination file. Defaults to the artifact URL filename.
--forceReplace an existing destination file.
--jsonEmit machine-readable JSON.

Customers and deployments

alien onboard

Create a deployment group and generate a deployment link.

alien onboard [OPTIONS] [NAME]
ArgumentDescription
[NAME]Customer name.
FlagDescription
--external-id <EXTERNAL_ID>Stable customer identifier used by your application. Defaults to a URL-safe form of NAME.
--setup-items <SETUP_ITEMS>Customer infrastructure to include in the setup link. Values: application (The application itself), models (AI models in the customer's cloud), keys (Customer-managed encryption keys), storage (A storage bucket in the customer's cloud), registry (A container registry in the customer's cloud), sandbox (A remote sandbox). Default: application.
--return-url <RETURN_URL>HTTPS destination when the customer leaves or finishes setup (maximum 2048 characters).
--refresh-url <REFRESH_URL>HTTPS destination for expired or unavailable links. Must authenticate the user before minting a new link.
--max-deployments <MAX_DEPLOYMENTS>Maximum number of deployments for this customer. Default: 100.
--jsonOutput in JSON format (for scripting).
--env <ENV_VARS>Plain environment variables for deployments created from this link (KEY=VALUE or KEY=VALUE:target1,target2).
--secret <SECRET_VARS>Secret environment variables for deployments created from this link (KEY=VALUE or KEY=VALUE:target1,target2).
--input <INPUT_VALUES>Stack input value provided before creating the deployment link (id=value).
--secret-input <SECRET_INPUT_VALUES>Secret stack input value provided before creating the deployment link (id=value).
--platforms <PLATFORMS>Platforms this deployment link can create deployments for (comma-separated). Defaults to every platform in the active release.
--subdomain <SUBDOMAIN>Public subdomain to reserve for deployments created from this link.
--airgappedThe environment can't reach your manager: register its deployment now. The site keeps it up to date with alien-deploy sync.

alien deployment-groups

List, inspect, and change project deployment groups.

Alias: customers, customer.

alien deployment-groups [OPTIONS] <COMMAND>
SubcommandDescription
listList deployment groups in the project.
getShow deployment-group details.
updateRename a deployment group or change its deployment limit.
set-external-idSet or clear the ID your own systems use for a deployment group.
deleteDelete an empty deployment group and its API keys.
FlagDescription
--jsonEmit stable machine-readable JSON.

Examples:

alien deployment-groups list
alien deployment-groups get customer_123
alien deployment-groups describe acme --json
alien deployment-groups update acme --max-deployments 5
alien deployment-groups set-external-id acme customer_123
alien deployment-groups delete acme --yes
alien onboard acme --external-id customer_123 --setup-items models,keys

alien deployment-groups list

List deployment groups in the project.

Alias: ls.

alien deployment-groups list [OPTIONS]
FlagDescription
--search <SEARCH>Search deployment-group name or external ID.
--jsonEmit stable machine-readable JSON.

alien deployment-groups get

Show deployment-group details.

Alias: describe, show.

alien deployment-groups get [OPTIONS] <CUSTOMER>
ArgumentDescription
<CUSTOMER>Deployment-group ID, name, or external ID.
FlagDescription
--jsonEmit stable machine-readable JSON.

alien deployment-groups update

Rename a deployment group or change its deployment limit.

alien deployment-groups update [OPTIONS] <CUSTOMER>
ArgumentDescription
<CUSTOMER>Deployment-group ID, name, or external ID.
FlagDescription
--name <NAME>New name: lowercase letters, numbers, and hyphens.
--jsonEmit stable machine-readable JSON.
--max-deployments <MAX_DEPLOYMENTS>Most deployments the group may hold.

alien deployment-groups set-external-id

Set or clear the ID your own systems use for a deployment group.

alien deployment-groups set-external-id [OPTIONS] <CUSTOMER> [EXTERNAL_ID]
ArgumentDescription
<CUSTOMER>Deployment-group ID, name, or external ID.
[EXTERNAL_ID]External ID, unique within the project.
FlagDescription
--clearRemove the external ID.
--jsonEmit stable machine-readable JSON.

alien deployment-groups delete

Delete an empty deployment group and its API keys.

Alias: rm.

alien deployment-groups delete [OPTIONS] <CUSTOMER>
ArgumentDescription
<CUSTOMER>Deployment-group ID, name, or external ID.
FlagDescription
--yesSkip confirmation prompt.
--jsonEmit stable machine-readable JSON.

alien deploy

Deploy to a cloud platform.

alien deploy [OPTIONS]
FlagDescription
--token <TOKEN>Deployment API key for authentication (optional if deployment is already tracked).
--token-file <TOKEN_FILE>Read the deployment API key from a file instead of exposing it in command arguments.
--name <NAME>Deployment name for identification in tracking.
--deployment-group <DEPLOYMENT_GROUP>Existing deployment group ID, name, or external ID for a new deployment. The group is inferred when --token contains a deployment-group key.
--platform <PLATFORM>Target platform for the deployment (aws, gcp, azure, machines).
--machinesCreate or update a Machines deployment and print a host join command.
--config <CONFIG>TOML file containing deployment settings.
--quota-warning-override <QUOTA_WARNING_OVERRIDES>Downgrade a quota failure to a visible warning for this deployment (repeatable).
--clear-quota-warning-overridesRemove all saved quota warning overrides from this deployment.
--validate-onlyValidate the config locally without authentication, API calls, or deployment tracking.
--input <INPUT_VALUES>Stack input value for setup (id=value).
--secret-input <SECRET_INPUT_VALUES>Secret stack input value for setup (id=value).
--setup-item <SETUP_ITEM>Customer setup item to install, for a deployment-group token whose group offers more than one. The API rejects the request without it. Values: application (The application itself), models (AI models in the customer's cloud), keys (Customer-managed encryption keys), storage (A storage bucket in the customer's cloud), registry (A container registry in the customer's cloud), sandbox (A remote sandbox).
--public-subdomain <PUBLIC_SUBDOMAIN>Public subdomain for deployments in your own environment. This is only accepted when creating a new deployment without --token.
--resource-prefix <RESOURCE_PREFIX>Physical-name prefix for generated cloud resources. Omit to let the manager generate one.
--no-heartbeatDisable heartbeat capability.
--automatic-setupGrant ongoing setup permissions for a new deployment in your own AWS, GCP or Azure environment. Alien can then add and change infrastructure without a separate setup run.
--monitoring <MONITORING>Telemetry / monitoring mode. "auto" (default) uses the parent manager's built-in log store or external OTLP integration. "off" disables all monitoring. Values: auto (Automatically use the best available OTLP config: the parent manager's built-in log store or external OTLP integration (e.g. Axiom, Datadog)), off (Disable all monitoring: no OTLP logs for containers or worker VMs). Default: auto.
--manager <MANAGER>Manager to use for deployment. Omit for auto-resolve (platform resolves from deployment record). Use "none" to deploy without a manager (e.g., bootstrapping the manager itself). Or pass a specific manager ID.
--channel <CHANNEL>Release channel followed by a newly created deployment. Default: production.

Network options:

FlagDescription
--endpoint-access <ENDPOINT_ACCESS>Who can reach public endpoints: internet or private (AWS managed containers only).
--network <NETWORK_MODE>Network mode: auto, use-default, create, byo. auto (system decides (create VPC if containers need it, skip otherwise) use-default ) use cloud provider's default VPC (fast, good for dev) create (create an isolated VPC (production-grade) byo ) bring your own VPC/VNet. Default: auto.
--network-cidr <NETWORK_CIDR>VPC CIDR block (create mode only, auto-generated if omitted).
--availability-zones <AVAILABILITY_ZONES>Number of availability zones (create mode only, default: 2).
--vpc-id <VPC_ID>Existing VPC ID (byo mode, AWS).
--public-subnet-ids <PUBLIC_SUBNET_IDS>Comma-separated public subnet IDs (byo mode, AWS).
--private-subnet-ids <PRIVATE_SUBNET_IDS>Comma-separated private subnet IDs (byo mode, AWS).
--security-group-ids <SECURITY_GROUP_IDS>Comma-separated security group IDs (byo mode, AWS, optional).
--network-name <NETWORK_NAME>Existing VPC network name (byo mode, GCP).
--subnet-name <SUBNET_NAME>Subnet name (byo mode, GCP).
--network-region <NETWORK_REGION>Subnet region (byo mode, GCP).
--vnet-resource-id <VNET_RESOURCE_ID>Existing VNet resource ID (byo mode, Azure).
--public-subnet-name <PUBLIC_SUBNET_NAME>Public subnet name (byo mode, Azure).
--private-subnet-name <PRIVATE_SUBNET_NAME>Private subnet name (byo mode, Azure).

Examples:

# Deploy to your own AWS environment
alien deploy --name production --platform aws --secret-input apiKey=...

# Deploy into an existing customer deployment group
alien deploy --deployment-group customer-123 --name production --platform aws

# Create a Machines deployment and print a host join command
alien deploy --name eu-prod --machines

# Set up a deployment from a customer deployment-group token
alien deploy --token dg_abc123... --name production --platform aws

# Deploy an existing deployment (uses stored API key)
alien deploy --name production --platform aws

# Read a deployment token from a protected file
alien deploy --token-file deployment-token.txt --name prod --platform aws

# Deploy without heartbeat capability
alien deploy --token ax_deployment_xyz... --name prod --platform aws --no-heartbeat

alien deployments

Deployment commands.

alien deployments [OPTIONS] <COMMAND>
SubcommandDescription
set-domainsUse managed certificates for endpoint hostnames, or restore generated domains.
createCreate a new deployment.
lsList deployments.
getGet deployment details.
resourcesShow a safe resource summary without resource configuration or secrets.
eventsShow deployment lifecycle and configuration events.
waitWait until a deployment is ready or reaches a terminal state.
machinesShow the machines connected to a deployment.
drain-machineDrain a machine so its workloads move to other machines.
cancel-machine-drainCancel a machine drain so the machine takes work again.
remove-machineRemove a machine from a deployment.
join-tokensList, create, rotate, and revoke tokens that join hosts to a Machines deployment.
volumesShow container volumes, their latest snapshots and restores.
restore-volumeReplace a replica's persistent volume with a volume made from a snapshot.
cancel-volume-restoreCancel a pending volume restore.
deleteDelete a deployment.
retryRetry a deployment.
redeployRedeploy a deployment with the same release.
moveMove a deployment to another group without changing its runtime.
pinPin a deployment to a specific release.
set-computeChange machine counts, machine type, or quota warning overrides of a deployment.
set-envReplace the environment variables of a deployment.
inputsShow a deployment's stack inputs and their current values.
set-inputsChange stack inputs of a deployment.
checkAsk the manager to check the deployment's health now.
set-channelChange the channel followed by an unpinned deployment.
tokenCreate a deployment token (deployment-scoped API key).
untrackForget a deployment this machine tracks locally, discarding its stored key.

Related commands:

alien logs --deployment production/api --follow
alien debug production/api -- <command>
alien commands --help

Examples:

alien deployments list
alien deployments describe production/api
alien deployments resources production/api --json
alien deployments events production/api
alien deployments wait production/api --for ready --timeout 10m
alien deployments machines production/api --json
alien deployments set-compute production/api --machines 3
alien deployments set-inputs production/api --input region=eu-west-1
alien deployments drain-machine production/api <machine-id>
alien deployments join-tokens create production/api
alien deployments untrack my-sandbox

alien deployments set-domains

Use managed certificates for endpoint hostnames, or restore generated domains.

alien deployments set-domains [OPTIONS] --resource <RESOURCE> <ID>
ArgumentDescription
<ID>Deployment ID or reference.
FlagDescription
--resource <RESOURCE>
--endpoint <ENDPOINTS>Endpoint name and hostname (repeat for each endpoint).
--clearRestore generated domains for this resource.
--json

alien deployments create

Create a new deployment.

alien deployments create [OPTIONS] --name <NAME> --project <PROJECT> --deployment-group <DEPLOYMENT_GROUP> --platform <PLATFORM>
FlagDescription
--name <NAME>Deployment display name.
--deployment-group <DEPLOYMENT_GROUP>Deployment group ID (required).
--platform <PLATFORM>Platform (aws, gcp, azure).
--resource-prefix <RESOURCE_PREFIX>Physical-name prefix for generated cloud resources. Omit to let the manager generate one.
--env <ENV>Plain environment variables in KEY=VALUE format (can be used multiple times).
--secret <SECRET>Secret environment variables in KEY=VALUE format (can be used multiple times).
--env-targeted <ENV_TARGETED>Plain environment variables with target functions in KEY=VALUE:pattern1,pattern2 format (can be used multiple times).
--secret-targeted <SECRET_TARGETED>Secret environment variables with target functions in KEY=VALUE:pattern1,pattern2 format (can be used multiple times).
--no-pushDisable push (Operator handles deployments instead of manager).
--no-heartbeatDisable heartbeat capability.
--monitoring <MONITORING>Telemetry / monitoring mode. "auto" (default) uses the parent manager's built-in log store or external OTLP integration. "off" disables all monitoring. Values: auto (Automatically use the best available OTLP config: the parent manager's built-in log store or external OTLP integration (e.g. Axiom, Datadog)), off (Disable all monitoring: no OTLP logs for containers or worker VMs). Default: auto.

Network options:

FlagDescription
--endpoint-access <ENDPOINT_ACCESS>Who can reach public endpoints: internet or private (AWS managed containers only).
--network <NETWORK_MODE>Network mode: auto, use-default, create, byo. auto (system decides (create VPC if containers need it, skip otherwise) use-default ) use cloud provider's default VPC (fast, good for dev) create (create an isolated VPC (production-grade) byo ) bring your own VPC/VNet. Default: auto.
--network-cidr <NETWORK_CIDR>VPC CIDR block (create mode only, auto-generated if omitted).
--availability-zones <AVAILABILITY_ZONES>Number of availability zones (create mode only, default: 2).
--vpc-id <VPC_ID>Existing VPC ID (byo mode, AWS).
--public-subnet-ids <PUBLIC_SUBNET_IDS>Comma-separated public subnet IDs (byo mode, AWS).
--private-subnet-ids <PRIVATE_SUBNET_IDS>Comma-separated private subnet IDs (byo mode, AWS).
--security-group-ids <SECURITY_GROUP_IDS>Comma-separated security group IDs (byo mode, AWS, optional).
--network-name <NETWORK_NAME>Existing VPC network name (byo mode, GCP).
--subnet-name <SUBNET_NAME>Subnet name (byo mode, GCP).
--network-region <NETWORK_REGION>Subnet region (byo mode, GCP).
--vnet-resource-id <VNET_RESOURCE_ID>Existing VNet resource ID (byo mode, Azure).
--public-subnet-name <PUBLIC_SUBNET_NAME>Public subnet name (byo mode, Azure).
--private-subnet-name <PRIVATE_SUBNET_NAME>Private subnet name (byo mode, Azure).
--format <FORMAT>Output format (json or text). Default: text.

alien deployments ls

List deployments.

Alias: list.

alien deployments ls [OPTIONS]
FlagDescription
--jsonPrint machine-readable JSON.

alien deployments get

Get deployment details.

Alias: describe, show, status.

alien deployments get [OPTIONS] <ID>
ArgumentDescription
<ID>Deployment ID, or <deployment-group-name>/<deployment-name>.
FlagDescription
--jsonPrint machine-readable JSON.

alien deployments resources

Show a safe resource summary without resource configuration or secrets.

alien deployments resources [OPTIONS] <ID>
ArgumentDescription
<ID>Deployment ID, or <deployment-group-name>/<deployment-name>.
FlagDescription
--jsonPrint stable machine-readable JSON.

alien deployments events

Show deployment lifecycle and configuration events.

alien deployments events [OPTIONS] <ID>
ArgumentDescription
<ID>Deployment ID, or <deployment-group-name>/<deployment-name>.
FlagDescription
--limit <LIMIT>Maximum number of recent events to return. Default: 20.
--jsonPrint the API response as machine-readable JSON.

alien deployments wait

Wait until a deployment is ready or reaches a terminal state.

alien deployments wait [OPTIONS] <ID>
ArgumentDescription
<ID>Deployment ID, or <deployment-group-name>/<deployment-name>.
FlagDescription
--for <CONDITION>Condition to wait for. Values: ready (Running with the desired release applied), terminal (Any synchronized success or failure state), deleted (Fully deleted). Default: ready.
--timeout <TIMEOUT>Maximum wait duration in seconds, or with a unit such as 30s, 10m, or 1h. Default: 10m.
--interval <INTERVAL>Poll interval in seconds, optionally suffixed with s, m, or h. Default: 2s.
--jsonPrint a stable machine-readable result.

alien deployments machines

Show the machines connected to a deployment.

alien deployments machines [OPTIONS] <ID>
ArgumentDescription
<ID>Deployment ID, or <deployment-group-name>/<deployment-name>.
FlagDescription
--jsonPrint the complete inventory as machine-readable JSON.

alien deployments drain-machine

Drain a machine so its workloads move to other machines.

The machine stops taking new work and its replicas are rescheduled. Undo it with alien deployments cancel-machine-drain.

alien deployments drain-machine [OPTIONS] <ID> <MACHINE_ID>
ArgumentDescription
<ID>Deployment ID, or <deployment-group-name>/<deployment-name>.
<MACHINE_ID>Machine ID, as shown by alien deployments machines.
FlagDescription
--deadline <DEADLINE>Report the drain as overdue if it hasn't finished after this long, such as 30m.
--forceStop the machine's replicas without waiting for healthy replacements.
--yesSkip the confirmation prompt for --force.
--jsonPrint the result as machine-readable JSON.

alien deployments cancel-machine-drain

Cancel a machine drain so the machine takes work again.

alien deployments cancel-machine-drain [OPTIONS] <ID> <MACHINE_ID>
ArgumentDescription
<ID>Deployment ID, or <deployment-group-name>/<deployment-name>.
<MACHINE_ID>Machine ID, as shown by alien deployments machines.
FlagDescription
--jsonPrint the result as machine-readable JSON.

alien deployments remove-machine

Remove a machine from a deployment.

Drain the machine first so its workloads move. A removed machine can't rejoin with its old identity.

alien deployments remove-machine [OPTIONS] <ID> <MACHINE_ID>
ArgumentDescription
<ID>Deployment ID, or <deployment-group-name>/<deployment-name>.
<MACHINE_ID>Machine ID, as shown by alien deployments machines.
FlagDescription
--yesSkip confirmation prompt.
--jsonPrint the result as machine-readable JSON.

alien deployments join-tokens

List, create, rotate, and revoke tokens that join hosts to a Machines deployment.

Alias: join-token.

alien deployments join-tokens [OPTIONS] <COMMAND>
SubcommandDescription
listList a deployment's join tokens.
createCreate a join token. Existing tokens keep working.
rotateRevoke every join token and create a new one.
revokeRevoke one join token. Hosts that already joined keep running.

alien deployments join-tokens list

List a deployment's join tokens.

Alias: ls.

alien deployments join-tokens list [OPTIONS] <ID>
ArgumentDescription
<ID>Deployment ID, or <deployment-group-name>/<deployment-name>.
FlagDescription
--jsonPrint machine-readable JSON.

alien deployments join-tokens create

Create a join token. Existing tokens keep working.

alien deployments join-tokens create [OPTIONS] <ID>
ArgumentDescription
<ID>Deployment ID, or <deployment-group-name>/<deployment-name>.
FlagDescription
--jsonPrint the token and join details as JSON.

alien deployments join-tokens rotate

Revoke every join token and create a new one.

alien deployments join-tokens rotate [OPTIONS] <ID>
ArgumentDescription
<ID>Deployment ID, or <deployment-group-name>/<deployment-name>.
FlagDescription
--yesSkip confirmation prompt.
--jsonPrint the token and join details as JSON.

alien deployments join-tokens revoke

Revoke one join token. Hosts that already joined keep running.

alien deployments join-tokens revoke [OPTIONS] <ID> <TOKEN_ID>
ArgumentDescription
<ID>Deployment ID, or <deployment-group-name>/<deployment-name>.
<TOKEN_ID>Token ID, as shown by alien deployments join-tokens list.
FlagDescription
--yesSkip confirmation prompt.
--jsonPrint the result as machine-readable JSON.

alien deployments volumes

Show container volumes, their latest snapshots and restores.

alien deployments volumes [OPTIONS] <ID>
ArgumentDescription
<ID>Deployment ID, or <deployment-group-name>/<deployment-name>.
FlagDescription
--jsonPrint machine-readable JSON.

alien deployments restore-volume

Replace a replica's persistent volume with a volume made from a snapshot.

The replica is stopped while its volume is swapped. The replaced volume is snapshotted before it is deleted, so the restore can be undone by restoring that snapshot.

alien deployments restore-volume [OPTIONS] --resource <RESOURCE> --ordinal <ORDINAL> --snapshot <SNAPSHOT> <ID>
ArgumentDescription
<ID>Deployment ID, or <deployment-group-name>/<deployment-name>.
FlagDescription
--resource <RESOURCE>Container resource that owns the volume.
--ordinal <ORDINAL>Replica ordinal whose volume is replaced.
--snapshot <SNAPSHOT>Snapshot to restore, as shown by alien deployments volumes.
--yesSkip confirmation prompt.
--jsonPrint the restore request as machine-readable JSON.

alien deployments cancel-volume-restore

Cancel a pending volume restore.

Use it when a restore keeps failing. A restore whose volume was already swapped still finishes.

alien deployments cancel-volume-restore [OPTIONS] <ID> <REQUEST_ID>
ArgumentDescription
<ID>Deployment ID, or <deployment-group-name>/<deployment-name>.
<REQUEST_ID>Restore request ID, as shown by alien deployments volumes.
FlagDescription
--jsonPrint the cancelled request as machine-readable JSON.

alien deployments delete

Delete a deployment.

alien deployments delete [OPTIONS] <ID>
ArgumentDescription
<ID>Deployment ID, or <deployment-group-name>/<deployment-name>.
FlagDescription
--force <DEPLOYMENT_NAME>Force-delete: remove Alien's record without touching your cloud, so the deployment group accepts new deployments again. For a deployment whose stack is already gone or whose cleanup keeps failing. Takes the deployment's name as confirmation; nothing is sent unless it matches. Cannot be combined with --yes.
--erase-dataPermanently erase durable data instead of retaining it.
--yesSkip confirmation prompt.

alien deployments retry

Retry a deployment.

alien deployments retry [OPTIONS] <ID>
ArgumentDescription
<ID>Deployment ID, or <deployment-group-name>/<deployment-name>.
FlagDescription
--jsonPrint the updated deployment as machine-readable JSON.

alien deployments redeploy

Redeploy a deployment with the same release.

alien deployments redeploy [OPTIONS] <ID>
ArgumentDescription
<ID>Deployment ID, or <deployment-group-name>/<deployment-name>.
FlagDescription
--waitWait for this exact redeploy operation to finish.
--timeout <TIMEOUT>Maximum wait duration when --wait is used. Default: 10m.
--interval <INTERVAL>Poll interval when --wait is used. Default: 2s.
--jsonPrint the updated deployment as machine-readable JSON.

alien deployments move

Move a deployment to another group without changing its runtime.

alien deployments move [OPTIONS] --deployment-group <DEPLOYMENT_GROUP> <ID>
ArgumentDescription
<ID>Deployment ID, or <deployment-group-name>/<deployment-name>.
FlagDescription
--deployment-group <DEPLOYMENT_GROUP>Destination deployment group ID.
--dry-runPreview eligibility without changing membership.
--expected-membership-revision <EXPECTED_MEMBERSHIP_REVISION>Revision from a previous preview (otherwise preview immediately).
--jsonPrint the server response as machine-readable JSON.

alien deployments pin

Pin a deployment to a specific release.

alien deployments pin [OPTIONS] <ID> [RELEASE_ID]
ArgumentDescription
<ID>Deployment ID.
[RELEASE_ID]Release ID to pin to (omit to unpin and use active release).
FlagDescription
--jsonPrint the pin response as machine-readable JSON.

alien deployments set-compute

Change machine counts, machine type, or quota warning overrides of a deployment.

Pass --machines for a fixed pool, or --min and --max for an autoscaling pool; switching between them changes the pool's mode. The update replaces the deployment's whole pool map with the saved pools plus this change, so other pools are sent back as they were read. Container CPU and memory settings are not sent and stay as they are. Adding or removing pools, or changing their placement, needs a new setup.

alien deployments set-compute [OPTIONS] <ID>
ArgumentDescription
<ID>Deployment ID, or <deployment-group-name>/<deployment-name>.
FlagDescription
--pool <POOL>Pool to change (required when the deployment has more than one).
--machines <MACHINES>Fixed number of machines.
--min <MIN>Minimum machine count for an autoscaling pool.
--max <MAX>Maximum machine count for an autoscaling pool.
--machine <MACHINE>Provider machine type, such as m6i.large. It must keep the pool's CPU architecture; the pool's machines are replaced to apply it.
--quota-warning-override <QUOTA_WARNING_OVERRIDES>Downgrade a quota failure to a visible warning (repeatable; replaces the saved list).
--clear-quota-warning-overridesRemove all saved quota warning overrides.
--yesSkip the confirmation prompt when scaling a pool to 0 machines.
--jsonPrint the update result as machine-readable JSON.

alien deployments set-env

Replace the environment variables of a deployment.

The variables you pass become the full set: any variable not listed is removed. Variables backed by stack inputs are kept; change those with alien deployments set-inputs.

alien deployments set-env [OPTIONS] <ID>
ArgumentDescription
<ID>Deployment ID, or <deployment-group-name>/<deployment-name>.
FlagDescription
--env <ENV>Plain environment variables in KEY=VALUE format (can be used multiple times).
--secret <SECRET>Secret environment variables in KEY=VALUE format (can be used multiple times).
--env-targeted <ENV_TARGETED>Plain environment variables with target resources in KEY=VALUE:pattern1,pattern2 format (can be used multiple times).
--secret-targeted <SECRET_TARGETED>Secret environment variables with target resources in KEY=VALUE:pattern1,pattern2 format (can be used multiple times).
--clearRemove every environment variable.
--yesSkip confirmation prompt.
--jsonPrint the result as machine-readable JSON.

alien deployments inputs

Show a deployment's stack inputs and their current values.

alien deployments inputs [OPTIONS] <ID>
ArgumentDescription
<ID>Deployment ID, or <deployment-group-name>/<deployment-name>.
FlagDescription
--jsonPrint machine-readable JSON.

alien deployments set-inputs

Change stack inputs of a deployment.

Values are read as in alien deploy: a JSON array of strings is a list, and anything else is text that Alien converts to the type the input declares (a number, true or false, or a comma-separated list). Inputs you don't pass keep their saved values.

alien deployments set-inputs [OPTIONS] <ID>
ArgumentDescription
<ID>Deployment ID, or <deployment-group-name>/<deployment-name>.
FlagDescription
--input <INPUTS>Input value in ID=VALUE format (can be used multiple times).
--secret-input <SECRET_INPUTS>Secret input value in ID=VALUE format, sent as text (can be used multiple times).
--clear <CLEAR>Input to reset to its default (can be used multiple times).
--jsonPrint the saved inputs as machine-readable JSON.

alien deployments check

Ask the manager to check the deployment's health now.

alien deployments check [OPTIONS] <ID>
ArgumentDescription
<ID>Deployment ID, or <deployment-group-name>/<deployment-name>.
FlagDescription
--jsonPrint the result as machine-readable JSON.

alien deployments set-channel

Change the channel followed by an unpinned deployment.

alien deployments set-channel [OPTIONS] <ID> <CHANNEL>
ArgumentDescription
<ID>Deployment ID.
<CHANNEL>Channel to follow.
FlagDescription
--jsonPrint the updated deployment as machine-readable JSON.

alien deployments token

Create a deployment token (deployment-scoped API key).

Alias: tokens.

alien deployments token [OPTIONS] <ID>
ArgumentDescription
<ID>Deployment ID.
FlagDescription
--jsonPrint the token and deployment ID as JSON.

alien deployments untrack

Forget a deployment this machine tracks locally, discarding its stored key.

alien deployments untrack [OPTIONS] <NAME>
ArgumentDescription
<NAME>Deployment name, as passed to alien deploy --name.

alien status

Show deployment status for the linked project or one deployment.

alien status [OPTIONS] [DEPLOYMENT]
ArgumentDescription
[DEPLOYMENT]Deployment ID, or <deployment-group-name>/<deployment-name>.
FlagDescription
--jsonEmit machine-readable JSON.

Examples:

alien status
alien status --json
alien status production/api
alien status dep_abc123 --json

alien destroy

Destroy resources from a deployment.

alien destroy [OPTIONS] --name <NAME>
FlagDescription
--token <TOKEN>Deployment API key for setup teardown (optional with local tracking or an Alien login).
--name <NAME>Deployment ID, <group>/<name>, or a unique deployment name in the selected project.
--platform <PLATFORM>Target platform (required by alien destroy; alien dev destroy is always local).
--forceForce-destroy: skip resource teardown and delete the record immediately.
--erase-dataPermanently erase durable data instead of retaining it. Also erases data an earlier destroy kept.
--yesSkip confirmation for cloud destruction (local dev destruction never prompts).

Examples:

# Destroy a tracked deployment
alien destroy --name production --platform aws

# Force-destroy (skip resource teardown)
alien destroy --name production --platform aws --force

alien vault

Manage vault secrets for a deployment.

alien vault [OPTIONS] <COMMAND>
SubcommandDescription
setSet a secret value in a vault.
getGet a secret value from a vault.
deleteDelete a secret from a vault.
listList all secrets in a vault.
FlagDescription
--deployment <DEPLOYMENT>Target deployment ID, name, or group/name. Global so it can follow the subcommand; clap refuses a required global argument, so [VaultRemoteArgs::deployment] checks it.

alien vault set

Set a secret value in a vault.

alien vault set [OPTIONS] <VAULT_NAME> <SECRET_NAME> [VALUE]
ArgumentDescription
<VAULT_NAME>Vault name (e.g., "customer-secrets").
<SECRET_NAME>Secret name (e.g., "GITHUB_TOKEN").
[VALUE]Secret value (prefer --stdin to keep it out of process arguments).
FlagDescription
--stdinRead the exact secret bytes from stdin, without trimming whitespace.
--file <FILE>Read a UTF-8 file exactly, without adding a newline or exposing the value in arguments.
--deployment <DEPLOYMENT>Target deployment ID, name, or group/name. Global so it can follow the subcommand; clap refuses a required global argument, so [VaultRemoteArgs::deployment] checks it.

alien vault get

Get a secret value from a vault.

alien vault get [OPTIONS] <VAULT_NAME> <SECRET_NAME>
ArgumentDescription
<VAULT_NAME>Vault name.
<SECRET_NAME>Secret name.
FlagDescription
--deployment <DEPLOYMENT>Target deployment ID, name, or group/name. Global so it can follow the subcommand; clap refuses a required global argument, so [VaultRemoteArgs::deployment] checks it.

alien vault delete

Delete a secret from a vault.

alien vault delete [OPTIONS] <VAULT_NAME> <SECRET_NAME>
ArgumentDescription
<VAULT_NAME>Vault name.
<SECRET_NAME>Secret name.
FlagDescription
--deployment <DEPLOYMENT>Target deployment ID, name, or group/name. Global so it can follow the subcommand; clap refuses a required global argument, so [VaultRemoteArgs::deployment] checks it.

alien vault list

List all secrets in a vault.

alien vault list [OPTIONS] <VAULT_NAME>
ArgumentDescription
<VAULT_NAME>Vault name.
FlagDescription
--deployment <DEPLOYMENT>Target deployment ID, name, or group/name. Global so it can follow the subcommand; clap refuses a required global argument, so [VaultRemoteArgs::deployment] checks it.

Operate

alien logs

Search deployment and manager logs.

alien logs [OPTIONS]
FlagDescription
--deployment <DEPLOYMENT>Deployment ID, or <deployment-group-name>/<deployment-name>.
--manager <MANAGER_ID>Manager ID to search when --deployment is not provided.
--cloud <CLOUD>Cloud default to use when the project has multiple default managers. Values: aws, gcp, azure, kubernetes, local.
-q, --query <QUERY>Log query text. Default: *.
--level <LEVEL>Severity band to include. Repeat to include several bands. Values: trace, debug, info, warn, error, fatal.
--source <SOURCE>Restrict results to a gateway request-diagnostics source. Values: application, ai-gateway, encryption-gateway, remote-sandbox.
--status <STATUS>Gateway outcome, such as success, provider-error, not-routed, gateway-error, cancelled, or failed.
--model <MODEL>Requested AI model. Only valid with --source ai-gateway.
--provider <PROVIDER>Selected AI provider. Only valid with --source ai-gateway.
--operation <OPERATION>Encryption operation, such as encrypt or decrypt. Only valid with --source encryption-gateway.
--deployment-group <DG_ID>Deployment-group ID associated with a gateway request.
--since <SINCE>Relative time window, such as 30m, 2h, or 7d. Default: 1h.
--from <FROM>Start timestamp in RFC3339 format, or YYYY-MM-DD (midnight UTC). Overrides --since.
--to <TO>End timestamp in RFC3339 format, or YYYY-MM-DD (midnight UTC). Defaults to now.
--limit <LIMIT>Maximum logs to return per query. Default: 200.
--systemInclude logs from Alien system components (hidden by default).
--followKeep polling for new logs.
--interval <INTERVAL>Poll interval used with --follow, such as 1s or 5s. Default: 2s.
--jsonOutput a stable machine-readable format. With --follow, emits JSON lines.

Examples:

alien logs --deployment acme/production --follow
alien logs --source ai-gateway --status provider-error --provider anthropic
alien logs --source ai-gateway --model byo/claude-opus-5 --since 24h --json
alien logs --source encryption-gateway --status failed --operation decrypt
alien logs --source remote-sandbox --since 1h

alien commands

Invoke remote commands on deployments.

Commands let you run code inside a deployment's environment (query databases, trigger syncs, execute tool calls) without any inbound networking.

Commands are application RPC handled by your Worker, Container, or Daemon. See also: alien operations --help for Remote Operator operations, which carry a risk tier, approval policy, and access requests.

Docs: /docs/guide/commands.

alien commands [OPTIONS] <COMMAND>
SubcommandDescription
invokeInvoke a command on a deployment and wait for the result.

Examples:

# Invoke a command in dev mode
alien dev commands invoke --deployment default --command list-tables

# Invoke with parameters
alien dev commands invoke --deployment default --command query \
  --params '{"sql": "SELECT * FROM users"}'

# Invoke against a manager you run
alien commands invoke --deployment acme-corp --command generate-report \
  --params '{"startDate": "2025-01-01"}'

alien commands invoke

Invoke a command on a deployment and wait for the result.

alien commands invoke [OPTIONS] --deployment <DEPLOYMENT> --command <COMMAND>
FlagDescription
--deployment <DEPLOYMENT>Deployment ID, or <deployment-group-name>/<deployment-name>.
--command <COMMAND>Command name to invoke.
--target <TARGET>Resource ID to invoke when several resources handle commands.
--params <PARAMS>Command parameters as JSON (default: {}). Default: {}.
--timeout <TIMEOUT>Timeout in seconds (default: 60). Default: 60.

alien operations

Build, test, and manage operations plugins.

Operations plugins package named operations (plugin/operation) that Remote Operator runs in a deployment. Each operation declares its risk, and invoking one goes through the project's approval policy and access requests. init, check, test, permissions, and package need no platform account (cargo may download the plugin's dependencies); publish, list, and invoke need a linked platform workspace.

See also: alien commands --help for application RPC handled by your Worker, Container, or Daemon. Commands have no approval policy or access requests.

alien operations [OPTIONS] <COMMAND>
SubcommandDescription
initScaffold a new operations plugin from the public SDK. Fully offline.
checkValidate a plugin's manifest, then build and run its required generate-metadata binary and fail if metadata.json differs from the metadata its typed operations generate. Needs no platform account; cargo may download the plugin's dependencies.
testRun a plugin's own test suite (cargo test in its directory). Fully offline.
permissionsCompile a plugin's declared permission requirements into a cloud-specific policy document. Fully offline.
docsGenerate tool schemas and a Markdown reference page from a plugin's manifest. Fully offline.
packageBuild a plugin's release binary and zip it with its manifest into a bundle ready for publish. Builds only for this host's architecture: publishing both amd64 and arm64 needs a build on each. Fully offline (aside from cargo build's own dependency resolution).
publishPublish a custom operations plugin bundle (ZIP) to your workspace.
listList operations plugins: every built-in and published custom plugin a stack can declare, or only the ones a deployment declares.
invokeInvoke an operation the deployment declares and wait for its result.
FlagDescription
--jsonEmit machine-readable JSON.

Examples:

# Scaffold a new plugin
alien operations init my-plugin

# Validate its manifest and check its generated metadata
alien operations check

# Run its own test suite
alien operations test

# See what AWS IAM permissions it needs
alien operations permissions --cloud aws

# Build a release binary and zip it into a bundle
alien operations package

# Publish a custom plugin bundle
alien operations publish ./postgres-operations-1.0.0.zip

# List plugins a stack can declare in operations()
alien operations list

# List the plugins a deployment declares
alien operations list --deployment mycustomer/prod

# Invoke a declared operation without an AI agent
alien operations invoke --deployment mycustomer/prod \
  --operation kubernetes/get-pods \
  --params '{"namespace": "default", "maxResults": 10}'

alien operations init

Scaffold a new operations plugin from the public SDK. Fully offline.

alien operations init [OPTIONS] <NAME> [DIRECTORY]
ArgumentDescription
<NAME>Plugin name (kebab-case), also used as the crate name.
[DIRECTORY]Destination directory. Defaults to ./<name>.
FlagDescription
--jsonEmit machine-readable JSON.

alien operations check

Validate a plugin's manifest, then build and run its required generate-metadata binary and fail if metadata.json differs from the metadata its typed operations generate. Needs no platform account; cargo may download the plugin's dependencies.

alien operations check [OPTIONS] [DIRECTORY]
ArgumentDescription
[DIRECTORY]Plugin directory containing metadata.json. Defaults to the current directory.
FlagDescription
--manifest-onlyOnly validate metadata.json. Does not build or run any plugin code, so it is safe for a plugin you do not trust.
--jsonEmit machine-readable JSON.

alien operations test

Run a plugin's own test suite (cargo test in its directory). Fully offline.

alien operations test [OPTIONS] [DIRECTORY]
ArgumentDescription
[DIRECTORY]Plugin directory. Defaults to the current directory.
FlagDescription
--jsonEmit machine-readable JSON.

alien operations permissions

Compile a plugin's declared permission requirements into a cloud-specific policy document. Fully offline.

alien operations permissions [OPTIONS] --cloud <CLOUD> [DIRECTORY]
ArgumentDescription
[DIRECTORY]Plugin directory containing metadata.json. Defaults to the current directory.
FlagDescription
--cloud <CLOUD>Cloud to generate a policy for. Values: aws, gcp, kubernetes, azure.
--permission <PERMISSION>Kubernetes installation permission mode. Values: diagnostics, remediation. Default: diagnostics.
--s3-bucket-arn <S3_BUCKET_ARN>Exact S3 bucket ARN allowed by the installation. May be repeated.
--sqs-queue-arn <SQS_QUEUE_ARN>Exact SQS queue ARN allowed by the installation. May be repeated.
--gcs-bucket <GCS_BUCKET>Exact Cloud Storage bucket name allowed by the installation. May be repeated.
--builtinCompile reviewed built-in source definitions. Custom plugins must use named AWS capabilities.
--jsonEmit machine-readable JSON.

alien operations docs

Generate tool schemas and a Markdown reference page from a plugin's manifest. Fully offline.

alien operations docs [OPTIONS] [DIRECTORY]
ArgumentDescription
[DIRECTORY]Plugin directory containing metadata.json. Defaults to the current directory.
FlagDescription
--jsonEmit machine-readable JSON.

alien operations package

Build a plugin's release binary and zip it with its manifest into a bundle ready for publish. Builds only for this host's architecture: publishing both amd64 and arm64 needs a build on each. Fully offline (aside from cargo build's own dependency resolution).

alien operations package [OPTIONS] [DIRECTORY]
ArgumentDescription
[DIRECTORY]Plugin directory. Defaults to the current directory.
FlagDescription
--jsonEmit machine-readable JSON.

alien operations publish

Publish a custom operations plugin bundle (ZIP) to your workspace.

alien operations publish [OPTIONS] <BUNDLE>
ArgumentDescription
<BUNDLE>Path to the plugin bundle ZIP (contains metadata.json + binaries).
FlagDescription
--jsonEmit machine-readable JSON.

alien operations list

List operations plugins: every built-in and published custom plugin a stack can declare, or only the ones a deployment declares.

alien operations list [OPTIONS]
FlagDescription
--deployment <DEPLOYMENT>Only the plugins this deployment declares. Deployment ID, or <deployment-group-name>/<deployment-name>.
--jsonEmit machine-readable JSON.

alien operations invoke

Invoke an operation the deployment declares and wait for its result.

alien operations invoke [OPTIONS] --deployment <DEPLOYMENT> --operation <OPERATION>
FlagDescription
--deployment <DEPLOYMENT>Deployment ID, or <deployment-group-name>/<deployment-name>.
--operation <OPERATION>Operation name in <plugin>/<operation> form.
--params <PARAMS>Operation parameters as JSON. Default: {}.
--timeout <TIMEOUT>Timeout in seconds. Default: 60.
--request-accessIf the operation requires approval, automatically create an access request instead of printing instructions.
--access-duration <ACCESS_DURATION>Approval duration to request with --request-access, e.g. 1h, 30m. Default: 1h.
--jsonEmit machine-readable JSON.

alien access-requests

Request, approve, and deny time-boxed operation access.

alien access-requests [OPTIONS] <COMMAND>
SubcommandDescription
createCreate an access request: an operations grant (exact <plugin>/<operation> or wildcard <plugin>/*), a remote-debugging grant (--debug-tool), or both.
getGet an access request by id.
waitWait for an access request to be approved by the customer.
approveApprove someone else's queued access request.
denyDeny someone else's queued access request.
revokeRevoke an access request: pending operations fail and open debug sessions stop.
FlagDescription
--jsonEmit machine-readable JSON.

alien access-requests create

Create an access request: an operations grant (exact <plugin>/<operation> or wildcard <plugin>/*), a remote-debugging grant (--debug-tool), or both.

alien access-requests create [OPTIONS] --deployment <DEPLOYMENT>
FlagDescription
--deployment <DEPLOYMENT>Deployment ID, or <deployment-group-name>/<deployment-name>.
--operation <OPERATION>Operation to request: an exact <plugin>/<operation>, or a wildcard <plugin>/* covering every operation the plugin exposes right now.
--params <PARAMS>Operation parameters as JSON. Only valid for an exact operation.
--max-risk <MAX_RISK>Highest risk tier a wildcard grant may cover: read-only | mutating | destructive. Required for a wildcard operation.
--debug-tool <DEBUG_TOOL>Remote-debugging tool to request access for: kubectl | aws | gcloud | az. May be combined with --operation to request both in one row.
--debug-namespace <DEBUG_NAMESPACE>Kubernetes namespace to scope a kubectl debug grant to. Requires --debug-tool kubectl.
--debug-cloud-scope <DEBUG_CLOUD_SCOPE>Cloud account/project/subscription to scope an aws/gcloud/az debug grant to (e.g. an AWS account id, a GCP project id). Requires --debug-tool set to that provider.
--duration <DURATION>Requested approval duration, e.g. 1h, 30m. Approvals cannot extend past this deadline.
--jsonEmit machine-readable JSON.
--title <TITLE>Human-readable title. Defaults to the operation or pattern.
--reason <REASON>Why access is needed.

alien access-requests get

Get an access request by id.

alien access-requests get [OPTIONS] <ID>
ArgumentDescription
<ID>
FlagDescription
--jsonEmit machine-readable JSON.

alien access-requests wait

Wait for an access request to be approved by the customer.

alien access-requests wait [OPTIONS] <ID>
ArgumentDescription
<ID>
FlagDescription
--timeout <TIMEOUT>Timeout in seconds. Default: 3600.
--jsonEmit machine-readable JSON.

alien access-requests approve

Approve someone else's queued access request.

alien access-requests approve [OPTIONS] <ID>
ArgumentDescription
<ID>
FlagDescription
--duration <DURATION>How long the approval lasts, e.g. 30m, 2h. It never runs past the deadline the requester asked for. Defaults to the longest allowed.
--jsonEmit machine-readable JSON.

alien access-requests deny

Deny someone else's queued access request.

alien access-requests deny [OPTIONS] <ID>
ArgumentDescription
<ID>
FlagDescription
--yesSkip the confirmation prompt.
--jsonEmit machine-readable JSON.

alien access-requests revoke

Revoke an access request: pending operations fail and open debug sessions stop.

alien access-requests revoke [OPTIONS] <ID>
ArgumentDescription
<ID>
FlagDescription
--reason <REASON>Why the grant is withdrawn (kept in the audit trail).
--jsonEmit machine-readable JSON.

alien debug

Run a local command against a deployment using manager-side credentials.

alien debug [OPTIONS] [DEPLOYMENT] [-- <CMD>...] [COMMAND]
SubcommandDescription
shellOpen an interactive shell in the deployment runtime.
execRun a non-interactive command in the deployment runtime.
ArgumentDescription
[DEPLOYMENT]Deployment ID (dep_...) or <group>/<name>.
[CMD]...Command and arguments to execute. Everything after -- is forwarded verbatim. If omitted, an interactive shell ($SHELL, or /bin/sh) is spawned instead.
FlagDescription
--access-request <ACCESS_REQUEST>Access request id (ar_...) authorizing this debug session. Required for Remote Operator (pull-mode Kubernetes) deployments, where debugging shares the same approval flow as alien operations invoke. Create one with alien access-requests create --debug-tool <kubectl|aws|gcloud|az> ....
--request-accessShortcut: create a debug-tool access request for this deployment, wait for customer approval, then start the session against it. Creates the same access-request resource as alien access-requests create --debug-tool ....
--access-duration <ACCESS_DURATION>Requested approval duration for --request-access, e.g. 30m, 1h. Informational until approved; the approver sets the actual grant window. Default: 30m.
--access-cloud-scope <ACCESS_CLOUD_SCOPE>Scope the --request-access grant to a specific cloud account/project/ subscription, e.g. 123456789012/prod-readonly. Only meaningful for aws/gcloud/az (kubectl scopes by namespace, derived automatically from the debugged command). Omit for an unscoped grant covering the whole deployment's cloud identity.
--jsonEmit errors as JSON. The spawned command's stdout/stderr are always passed through unchanged.

Examples:

alien debug dep_abc123 -- aws sts get-caller-identity
alien debug acme/prod -- gcloud projects list
alien debug acme/prod -- kubectl get pods

# Remote Operator (pull-mode Kubernetes) deployments require an approved
# access request covering the tool + namespace/scope you're debugging:
alien access-requests create --deployment acme/prod \
  --debug-tool kubectl --debug-namespace acme --duration 30m
alien debug acme/prod --access-request ar_123 -- kubectl get pods -n acme

# No `--` arg drops you into a local interactive shell with the env set:
alien debug acme/prod

# Open an interactive shell in a Local deployment runtime:
alien debug shell acme/prod

# Run a non-interactive command in a Local deployment runtime:
alien debug exec acme/prod -- uname -a
alien debug exec acme/prod -- powershell.exe -NoLogo -Command Get-Process

See also: /docs/production/remote-operator/debug.

alien debug shell

Open an interactive shell in the deployment runtime.

alien debug shell [OPTIONS] <DEPLOYMENT>
ArgumentDescription
<DEPLOYMENT>Deployment ID (dep_...) or <group>/<name>.
FlagDescription
--resource <RESOURCE>Container or daemon resource ID to attach to.
--machine <MACHINE>Machine ID to attach to directly.
--jsonEmit errors as JSON.

Examples:

alien debug shell acme/prod

alien debug exec

Run a non-interactive command in the deployment runtime.

alien debug exec [OPTIONS] <DEPLOYMENT> -- <CMD>...
ArgumentDescription
<DEPLOYMENT>Deployment ID (dep_...) or <group>/<name>.
<CMD>...Command and arguments to execute remotely.
FlagDescription
--resource <RESOURCE>Container or daemon resource ID to attach to.
--machine <MACHINE>Machine ID to attach to directly.
--timeout-seconds <TIMEOUT_SECONDS>Timeout in seconds for the remote command. Default: 120.
--jsonEmit structured JSON with captured output.

Examples:

alien debug exec acme/prod -- uname -a
alien debug exec acme/prod -- powershell.exe -NoLogo -Command Get-Process

Keys, tokens and managers

alien api-keys

Create, inspect, disable, and revoke API keys.

Alias: apikeys.

alien api-keys [OPTIONS] <COMMAND>
SubcommandDescription
createCreate a scoped project key. The secret is returned only once.
listList project API keys without secrets.
getShow API-key metadata without its secret.
disableStop accepting an API key until it is enabled again.
enableAccept a disabled API key again.
revokeRevoke an API key.
FlagDescription
--jsonEmit stable machine-readable JSON.

Examples:

alien api-keys create --for ai-gateway --description production-backend
alien api-keys create --for encryption-gateway --json
alien api-keys list
alien api-keys get key_abc123
alien api-keys disable key_abc123
alien api-keys enable key_abc123
alien api-keys revoke key_abc123 --yes

alien api-keys create

Create a scoped project key. The secret is returned only once.

alien api-keys create [OPTIONS] --for <PURPOSE>
FlagDescription
--for <PURPOSE>Intended use; selects the corresponding project role. Values: ai-gateway, encryption-gateway, deployments, project-admin (Full project lifecycle and API-key management), remote-bindings, remote-sandbox, read-only.
--description <DESCRIPTION>Human-readable key description.
--jsonEmit stable machine-readable JSON.

alien api-keys list

List project API keys without secrets.

Alias: ls.

alien api-keys list [OPTIONS]
FlagDescription
--jsonEmit stable machine-readable JSON.

alien api-keys get

Show API-key metadata without its secret.

Alias: describe, show.

alien api-keys get [OPTIONS] <ID>
ArgumentDescription
<ID>
FlagDescription
--jsonEmit stable machine-readable JSON.

alien api-keys disable

Stop accepting an API key until it is enabled again.

alien api-keys disable [OPTIONS] <ID>
ArgumentDescription
<ID>
FlagDescription
--yesSkip the confirmation prompt.
--jsonEmit stable machine-readable JSON.

alien api-keys enable

Accept a disabled API key again.

alien api-keys enable [OPTIONS] <ID>
ArgumentDescription
<ID>
FlagDescription
--jsonEmit stable machine-readable JSON.

alien api-keys revoke

Revoke an API key.

Alias: delete.

alien api-keys revoke [OPTIONS] <ID>
ArgumentDescription
<ID>
FlagDescription
--yesConfirm revocation.
--jsonEmit stable machine-readable JSON.

alien tokens

Create and revoke scoped tokens on your manager.

alien tokens [OPTIONS] <COMMAND>
SubcommandDescription
lsList tokens.
createCreate a token.
revokeRevoke a token.

Examples:

alien tokens create --tunnel
alien tokens create --tunnel --customer customer-1
alien tokens ls
alien tokens revoke <token-id>

alien tokens ls

List tokens.

alien tokens ls [OPTIONS]
FlagDescription
--jsonEmit structured JSON output.

alien tokens create

Create a token.

alien tokens create [OPTIONS] --tunnel
FlagDescription
--tunnelA token that only calls deployment tunnels.
--customer <CUSTOMER>Limit the token to one customer's deployments (deployment group name or ID).
--jsonEmit structured JSON output.

alien tokens revoke

Revoke a token.

alien tokens revoke [OPTIONS] <ID>
ArgumentDescription
<ID>Token ID (from alien tokens ls).

alien managers

Manage private managers deployed to your cloud.

alien managers [OPTIONS] <COMMAND>
SubcommandDescription
createCreate a new private manager and return its setup action.
listList private managers.
statusShow manager status and details.
setupReturn a fresh setup action for a pending or failed manager.
retryRetry private-manager setup or failed manager deployment.
updateUpdate a private manager to the latest manager release, or to a specific one.
provisionRun a private manager's provisioning again, for example after it failed.
set-domainServe a private manager's API on a workspace domain, or go back to its generated URL.
cancelCancel an incomplete private-manager setup.
deleteDelete a private manager.
eventsView manager deployment events.
defaultsManage project default private managers.
FlagDescription
--jsonPrint machine-readable JSON.

alien managers create

Create a new private manager and return its setup action.

alien managers create [OPTIONS] --cloud <CLOUD> --region <REGION>
FlagDescription
--jsonPrint machine-readable JSON.
--name <NAME>Manager display name. Default: alien-private-manager.
--cloud <CLOUD>Cloud where the manager will run. Values: aws, gcp, azure.
--region <REGION>Cloud region for the manager.
--setup <SETUP>Setup method. Defaults by cloud: AWS cloudformation, GCP google-oauth, Azure terraform. Values: cloudformation, google-oauth, terraform.
--network <NETWORK>Network mode. Defaults to create; use default for faster dev/test setup. Values: create, default.
--output-dir <OUTPUT_DIR>Write Terraform setup files to this directory.
--openOpen the returned browser setup URL.

alien managers list

List private managers.

Alias: ls.

alien managers list [OPTIONS]
FlagDescription
--cloud <CLOUD>Filter by cloud. Values: aws, gcp, azure.
--jsonPrint machine-readable JSON.

alien managers status

Show manager status and details.

Alias: get, describe, show.

alien managers status [OPTIONS] <ID>
ArgumentDescription
<ID>Manager ID.
FlagDescription
--jsonPrint machine-readable JSON.
--watchPoll until setup reaches a terminal state.

alien managers setup

Return a fresh setup action for a pending or failed manager.

alien managers setup [OPTIONS] <ID>
ArgumentDescription
<ID>Manager ID.
FlagDescription
--jsonPrint machine-readable JSON.
--output-dir <OUTPUT_DIR>Write Terraform setup files to this directory.
--openOpen the returned browser setup URL.

alien managers retry

Retry private-manager setup or failed manager deployment.

alien managers retry [OPTIONS] <ID>
ArgumentDescription
<ID>Manager ID.
FlagDescription
--jsonPrint machine-readable JSON.
--output-dir <OUTPUT_DIR>Write Terraform setup files to this directory when setup is retried.
--openOpen the returned browser setup URL when setup is retried.

alien managers update

Update a private manager to the latest manager release, or to a specific one.

alien managers update [OPTIONS] <ID>
ArgumentDescription
<ID>Manager ID.
FlagDescription
--jsonPrint machine-readable JSON.
--release <RELEASE>Manager release ID (rel_...). Omit to use the latest release.
--yesSkip confirmation prompt.

alien managers provision

Run a private manager's provisioning again, for example after it failed.

alien managers provision [OPTIONS] <ID>
ArgumentDescription
<ID>Manager ID.
FlagDescription
--jsonPrint machine-readable JSON.

alien managers set-domain

Serve a private manager's API on a workspace domain, or go back to its generated URL.

alien managers set-domain [OPTIONS] <ID>
ArgumentDescription
<ID>Manager ID.
FlagDescription
--domain <DOMAIN>Domain ID (dom_...), as shown by alien domains ls.
--jsonPrint machine-readable JSON.
--clearRemove the custom domain.

alien managers cancel

Cancel an incomplete private-manager setup.

alien managers cancel [OPTIONS] <ID>
ArgumentDescription
<ID>Manager ID.
FlagDescription
--jsonPrint machine-readable JSON.
--yesSkip confirmation prompt.

alien managers delete

Delete a private manager.

alien managers delete [OPTIONS] <ID>
ArgumentDescription
<ID>Manager ID.
FlagDescription
--jsonPrint machine-readable JSON.
--yesSkip confirmation prompt.

alien managers events

View manager deployment events.

alien managers events [OPTIONS] <ID>
ArgumentDescription
<ID>Manager ID.
FlagDescription
-f, --followFollow events.
--jsonPrint machine-readable JSON.

alien managers defaults

Manage project default private managers.

alien managers defaults [OPTIONS] <COMMAND>
SubcommandDescription
showShow default private managers for a project.
setSet the default private manager for a cloud.
clearClear default private managers.
FlagDescription
--jsonPrint machine-readable JSON.

alien managers defaults show

Show default private managers for a project.

alien managers defaults show [OPTIONS]
FlagDescription
--jsonPrint machine-readable JSON.

alien managers defaults set

Set the default private manager for a cloud.

alien managers defaults set [OPTIONS] --cloud <CLOUD> --manager <MANAGER>
FlagDescription
--jsonPrint machine-readable JSON.
--cloud <CLOUD>Cloud to configure. Values: aws, gcp, azure.
--manager <MANAGER>Manager ID.

alien managers defaults clear

Clear default private managers.

alien managers defaults clear [OPTIONS] --cloud <CLOUD>
FlagDescription
--jsonPrint machine-readable JSON.
--cloud <CLOUD>Cloud to clear, or all. Values: aws, gcp, azure, all.

alien domains

Manage workspace domains.

alien domains [OPTIONS] <COMMAND>
SubcommandDescription
addRegister a domain and show its required DNS records.
lsList workspace domains.
getShow a domain's verification state.
refreshCheck the domain's DNS records again.
rmRemove a workspace domain.
FlagDescription
--jsonPrint machine-readable JSON.

alien domains add

Register a domain and show its required DNS records.

alien domains add [OPTIONS] <DOMAIN>
ArgumentDescription
<DOMAIN>
FlagDescription
--dns <DNS>Who manages the DNS zone. Values: alien, customer. Default: alien.
--jsonPrint machine-readable JSON.

alien domains ls

List workspace domains.

Alias: list.

alien domains ls [OPTIONS]
FlagDescription
--jsonPrint machine-readable JSON.

alien domains get

Show a domain's verification state.

alien domains get [OPTIONS] <ID>
ArgumentDescription
<ID>
FlagDescription
--jsonPrint machine-readable JSON.

alien domains refresh

Check the domain's DNS records again.

alien domains refresh [OPTIONS] <ID>
ArgumentDescription
<ID>
FlagDescription
--jsonPrint machine-readable JSON.

alien domains rm

Remove a workspace domain.

Alias: remove.

alien domains rm [OPTIONS] <ID>
ArgumentDescription
<ID>
FlagDescription
--jsonPrint machine-readable JSON.

alien serve

Run a manager on this machine.

alien serve [OPTIONS]
FlagDescription
-c, --config <CONFIG>Path to TOML configuration file (default: alien-manager.toml in CWD).
--initWrite a commented alien-manager.toml to the current directory (or --config) and exit.
--port <PORT>Override the HTTP server port.
--host <HOST>Override the HTTP server bind address.

Gateways

alien examples

Print executable integration examples.

alien examples [OPTIONS] <COMMAND>
SubcommandDescription
ai-gatewayGenerate an AI Gateway request.
encryption-gatewayGenerate an Encryption Gateway request.
remote-sandboxGenerate a Remote Sandbox request.
FlagDescription
--jsonEmit the example and metadata as JSON.

Examples:

alien examples ai-gateway --protocol openai-chat --model byo/claude-opus-5
alien examples ai-gateway --protocol openai-responses --json
alien examples ai-gateway --protocol anthropic-messages
alien examples encryption-gateway --operation encrypt
alien examples remote-sandbox --operation create
alien examples remote-sandbox --operation exec --command 'python3 --version'

alien examples ai-gateway

Generate an AI Gateway request.

alien examples ai-gateway [OPTIONS]
FlagDescription
--jsonEmit the example and metadata as JSON.
--protocol <PROTOCOL>Values: openai-chat, openai-responses, anthropic-messages. Default: openai-chat.
--model <MODEL>Public model ID configured in the project. Default: byo/claude-opus-5.
--external-id <EXTERNAL_ID>Literal external ID. Omit to use the $CUSTOMER_ID environment variable.

alien examples encryption-gateway

Generate an Encryption Gateway request.

alien examples encryption-gateway [OPTIONS]
FlagDescription
--jsonEmit the example and metadata as JSON.
--operation <OPERATION>Values: encrypt, decrypt. Default: encrypt.
--external-id <EXTERNAL_ID>Literal external ID. Omit to use the $CUSTOMER_ID environment variable.
--key-id <KEY_ID>Stable key identifier for this data class. Default: customer-data.

alien examples remote-sandbox

Generate a Remote Sandbox request.

alien examples remote-sandbox [OPTIONS]
FlagDescription
--jsonEmit the example and metadata as JSON.
--operation <OPERATION>Values: create, exec, delete. Default: create.
--external-id <EXTERNAL_ID>Literal external ID. Omit to use the $CUSTOMER_ID environment variable.
--command <COMMAND>Shell command the exec example runs inside the sandbox (exec and delete take the sandboxId create returns). Default: "echo hello".

alien usage

Show AI and Encryption Gateway usage.

alien usage [OPTIONS] <SERVICE>
ArgumentDescription
<SERVICE>Values: ai, encryption.
FlagDescription
--range <RANGE>Values: 24h, 7d, 30d. Default: 24h.
--jsonEmit the complete privacy-safe aggregate response.

Examples:

alien usage ai --range 24h
alien usage ai --range 7d --json
alien usage encryption --range 30d

On this page

InstallGlobal flagsCommandsAccount and projectalien loginalien logoutalien whoamialien workspacesalien workspaces currentalien workspaces createalien workspaces setalien workspaces lsalien projectsalien projects createalien projects lsalien projects getalien projects deletealien projects portalalien projects portal getalien projects portal setalien projects portal domainalien projects portal google-sign-inalien projects packagesalien projects packages getalien projects packages updatealien projects capabilitiesalien projects capabilities statusalien projects capabilities enablealien linkalien unlinkalien initalien upgradeLocal developmentalien devalien dev serveralien dev deploymentsalien dev deployments set-domainsalien dev deployments createalien dev deployments lsalien dev deployments getalien dev deployments resourcesalien dev deployments eventsalien dev deployments waitalien dev deployments machinesalien dev deployments drain-machinealien dev deployments cancel-machine-drainalien dev deployments remove-machinealien dev deployments join-tokensalien dev deployments join-tokens listalien dev deployments join-tokens createalien dev deployments join-tokens rotatealien dev deployments join-tokens revokealien dev deployments volumesalien dev deployments restore-volumealien dev deployments cancel-volume-restorealien dev deployments deletealien dev deployments retryalien dev deployments redeployalien dev deployments movealien dev deployments pinalien dev deployments set-computealien dev deployments set-envalien dev deployments inputsalien dev deployments set-inputsalien dev deployments checkalien dev deployments set-channelalien dev deployments tokenalien dev deployments untrackalien dev releasesalien dev releases lsalien dev releases getalien dev releases promotealien dev releases channelsalien dev releases create-channelalien dev releases delete-channelalien dev whoamialien dev deployalien dev destroyalien dev releasealien dev vaultalien dev vault setalien dev vault getalien dev vault deletealien dev vault listalien dev commandsalien dev commands invokealien dev debugalien dev debug shellalien dev debug execBuild and releasealien buildalien build planalien build mergealien releasealien releasesalien releases lsalien releases getalien releases promotealien releases channelsalien releases create-channelalien releases delete-channelalien renderalien packagesalien packages listalien packages getalien packages rebuildalien packages cancelalien packages downloadCustomers and deploymentsalien onboardalien deployment-groupsalien deployment-groups listalien deployment-groups getalien deployment-groups updatealien deployment-groups set-external-idalien deployment-groups deletealien deployalien deploymentsalien deployments set-domainsalien deployments createalien deployments lsalien deployments getalien deployments resourcesalien deployments eventsalien deployments waitalien deployments machinesalien deployments drain-machinealien deployments cancel-machine-drainalien deployments remove-machinealien deployments join-tokensalien deployments join-tokens listalien deployments join-tokens createalien deployments join-tokens rotatealien deployments join-tokens revokealien deployments volumesalien deployments restore-volumealien deployments cancel-volume-restorealien deployments deletealien deployments retryalien deployments redeployalien deployments movealien deployments pinalien deployments set-computealien deployments set-envalien deployments inputsalien deployments set-inputsalien deployments checkalien deployments set-channelalien deployments tokenalien deployments untrackalien statusalien destroyalien vaultalien vault setalien vault getalien vault deletealien vault listOperatealien logsalien commandsalien commands invokealien operationsalien operations initalien operations checkalien operations testalien operations permissionsalien operations docsalien operations packagealien operations publishalien operations listalien operations invokealien access-requestsalien access-requests createalien access-requests getalien access-requests waitalien access-requests approvealien access-requests denyalien access-requests revokealien debugalien debug shellalien debug execKeys, tokens and managersalien api-keysalien api-keys createalien api-keys listalien api-keys getalien api-keys disablealien api-keys enablealien api-keys revokealien tokensalien tokens lsalien tokens createalien tokens revokealien managersalien managers createalien managers listalien managers statusalien managers setupalien managers retryalien managers updatealien managers provisionalien managers set-domainalien managers cancelalien managers deletealien managers eventsalien managers defaultsalien managers defaults showalien managers defaults setalien managers defaults clearalien domainsalien domains addalien domains lsalien domains getalien domains refreshalien domains rmalien serveGatewaysalien examplesalien examples ai-gatewayalien examples encryption-gatewayalien examples remote-sandboxalien usage