Account and project
alien login
Perform login & select default workspace.
alien login [OPTIONS]| Flag | Description |
|---|---|
--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]| Flag | Description |
|---|---|
--json | Emit structured JSON output. |
Examples:
alien whoami
alien whoami --json
alien dev whoamialien workspaces
Workspace commands.
alien workspaces [OPTIONS] <COMMAND>| Subcommand | Description |
|---|---|
current | Print the effective current workspace. |
create | Create a workspace and select it as the default. |
set | Set the default workspace. |
ls | List all available workspaces. |
| Flag | Description |
|---|---|
--json | Emit structured JSON output. |
Examples:
alien workspaces current
alien workspaces create my-workspace
alien workspaces ls
alien workspaces set my-workspace
alien workspaces set --jsonalien workspaces current
Print the effective current workspace.
alien workspaces current [OPTIONS]| Flag | Description |
|---|---|
--json | Emit structured JSON output. |
alien workspaces create
Create a workspace and select it as the default.
alien workspaces create [OPTIONS] <NAME>| Argument | Description |
|---|---|
<NAME> | Permanent workspace name used in URLs and CLI commands. |
| Flag | Description |
|---|---|
--json | Emit structured JSON output. |
alien workspaces set
Set the default workspace.
alien workspaces set [OPTIONS] [NAME]| Argument | Description |
|---|---|
[NAME] | Workspace name. If omitted in a real TTY, prompts for selection. |
| Flag | Description |
|---|---|
--json | Emit structured JSON output. |
alien workspaces ls
List all available workspaces.
alien workspaces ls [OPTIONS]| Flag | Description |
|---|---|
--json | Emit structured JSON output. |
alien projects
Project commands.
alien projects [OPTIONS] <COMMAND>| Subcommand | Description |
|---|---|
create | Create an ordinary project. |
ls | List projects. |
get | Show project configuration and enabled capabilities. |
delete | Delete a project. The platform refuses while it still has deployments. |
portal | Manage deployment portal appearance, domain, and Google sign-in. |
packages | Inspect or update installation package settings. |
capabilities | Inspect and enable project capabilities. |
| Flag | Description |
|---|---|
--json | Emit 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 3600alien projects create
Create an ordinary project.
alien projects create [OPTIONS] <NAME>| Argument | Description |
|---|---|
<NAME> | Project name. |
| Flag | Description |
|---|---|
--json | Emit structured JSON output. |
alien projects ls
List projects.
Alias: list.
alien projects ls [OPTIONS]| Flag | Description |
|---|---|
--json | Emit structured JSON output. |
alien projects get
Show project configuration and enabled capabilities.
Alias: describe, show.
alien projects get [OPTIONS] [PROJECT]| Argument | Description |
|---|---|
[PROJECT] | Project ID or name (defaults to the linked project). |
| Flag | Description |
|---|---|
--json | Emit structured JSON output. |
alien projects delete
Delete a project. The platform refuses while it still has deployments.
Alias: rm.
alien projects delete [OPTIONS] <PROJECT>| Argument | Description |
|---|---|
<PROJECT> | Project ID or name. |
| Flag | Description |
|---|---|
--json | Emit structured JSON output. |
-y, --yes | Skip the confirmation prompt. |
alien projects portal
Manage deployment portal appearance, domain, and Google sign-in.
alien projects portal [OPTIONS] <COMMAND>| Subcommand | Description |
|---|---|
get | Print appearance, domain status, and Google sign-in settings. |
set | Merge appearance settings; omitted fields are preserved. |
domain | Inspect domain status or select an existing verified domain. |
google-sign-in | Inspect Google sign-in or configure its OAuth web client. |
| Flag | Description |
|---|---|
--json | Emit structured JSON output. |
alien projects portal get
Print appearance, domain status, and Google sign-in settings.
alien projects portal get [OPTIONS] [PROJECT]| Argument | Description |
|---|---|
[PROJECT] | Project ID or name (defaults to the linked project). |
| Flag | Description |
|---|---|
--json | Emit 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]| Argument | Description |
|---|---|
[PROJECT] | Project ID or name (defaults to the linked project). |
| Flag | Description |
|---|---|
--json | Emit 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]| Argument | Description |
|---|---|
[PROJECT] | Project ID or name (defaults to the linked project). |
| Flag | Description |
|---|---|
--json | Emit structured JSON output. |
--use <DOMAIN> | Existing domain ID or hostname. |
--unset | Return 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]| Argument | Description |
|---|---|
[PROJECT] | Project ID or name (defaults to the linked project). |
| Flag | Description |
|---|---|
--alien-managed | Use the Alien-managed OAuth client. |
--json | Emit 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>| Subcommand | Description |
|---|---|
get | Print the project's installation package settings as JSON. |
update | Merge settings from JSON; omitted fields are preserved. |
| Flag | Description |
|---|---|
--json | Emit structured JSON output. |
alien projects packages get
Print the project's installation package settings as JSON.
alien projects packages get [OPTIONS] [PROJECT]| Argument | Description |
|---|---|
[PROJECT] | Project ID or name (defaults to the linked project). |
| Flag | Description |
|---|---|
--json | Emit structured JSON output. |
alien projects packages update
Merge settings from JSON; omitted fields are preserved.
alien projects packages update [OPTIONS] --file <FILE> [PROJECT]| Argument | Description |
|---|---|
[PROJECT] | Project ID or name (defaults to the linked project). |
| Flag | Description |
|---|---|
--file <FILE> | JSON patch file; use - to read standard input. Set a package to null to remove it. |
--json | Emit structured JSON output. |
alien projects capabilities
Inspect and enable project capabilities.
alien projects capabilities [OPTIONS] <COMMAND>| Subcommand | Description |
|---|---|
status | Show configured capabilities and customer readiness. |
enable | Enable or replace one capability's configuration. |
| Flag | Description |
|---|---|
--json | Emit structured JSON output. |
alien projects capabilities status
Show configured capabilities and customer readiness.
Alias: get, describe, show.
alien projects capabilities status [OPTIONS]| Flag | Description |
|---|---|
--json | Emit structured JSON output. |
alien projects capabilities enable
Enable or replace one capability's configuration.
alien projects capabilities enable [OPTIONS] <CAPABILITY>| Argument | Description |
|---|---|
<CAPABILITY> | Values: deployments, ai, encryption, buckets, registry, remote-sandbox. |
| Flag | Description |
|---|---|
--json | Emit 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. |
--push | Permit 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). |
--rebuild | Build 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. |
alien link
Link directory to an Alien project.
alien link [OPTIONS]| Flag | Description |
|---|---|
--no-git | Do not attach detected git repository metadata when creating a project. |
--json | Emit structured JSON output. |
--force | Force 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 --jsonalien unlink
Unlink directory from an Alien project.
alien unlink [OPTIONS]| Flag | Description |
|---|---|
--force | Force unlink without confirmation. |
alien init
Scaffold a new project from a template.
alien init [OPTIONS] [TEMPLATE] [DIRECTORY]| Argument | Description |
|---|---|
[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. |
| Flag | Description |
|---|---|
--force | Overwrite target directory if it exists. |
alien upgrade
Upgrade the Alien CLI to the latest stable or canary version.
Alias: update.
alien upgrade [OPTIONS]| Flag | Description |
|---|---|
--dry-run | Check what would be installed without changing anything. |
--canary | Install the latest canary build (standalone installations only). |
--force | Reinstall even when the selected version matches the current version. |