Skip to main content

CLI Reference

All resource commands follow the pattern:

appliku <resource> <action> --team <team-path> [--app <app-id>] [options]

Most list commands support JSON output:

appliku apps list --team my-team --output json

Use --help on any command for full option details:

appliku apps --help
appliku apps logs --help

Authentication commands

These root-level commands manage your local session.

appliku login                        # Start browser-based login
appliku login --token YOUR_TOKEN # Log in with an API token directly
appliku whoami # Show the authenticated user
appliku logout # Remove the saved token

teams

List and inspect your Appliku teams.

# List all teams you belong to
appliku teams list

# Get details for a specific team
appliku teams get my-team

apps

Manage applications and fetch their logs.

# List applications in a team
appliku apps list --team my-team

Application logs

There are two distinct log commands:

apps logs — fetches application-level logs using an async two-step flow. Use this to get logs across one or more processes:

# Fetch logs for the web process
appliku apps logs --team my-team --app 42 --process web

# Fetch logs for multiple processes
appliku apps logs --team my-team --app 42 --process web --process celery

# Limit output to the last N lines
appliku apps logs --team my-team --app 42 --process web --tail 200

apps service-logs — fetches service logs directly in a single request. Faster, but limited to one process at a time:

appliku apps service-logs --team my-team --app 42 --service web --tail 100

Nginx and load balancer logs

# Fetch nginx access logs for a domain
appliku apps nginx-logs --team my-team --app 42 --domain example.com --tail 100

# Fetch load balancer logs for a domain
appliku apps load-balancer-logs --team my-team --app 42 --domain example.com --tail 100

deployments

Inspect deployments and their build logs.

# List all deployments for an app
appliku deployments list --team my-team --app 42

# Show only the latest deployment
appliku deployments latest --team my-team --app 42

# Fetch logs for a specific deployment
appliku deployments logs --team my-team --id 1234

domains

Manage custom domains attached to an application.

# List domains
appliku domains list --team my-team --app 42

# Add a domain
appliku domains create --team my-team --app 42 --domain example.com

# Remove a domain
appliku domains delete --team my-team --app 42 --id 7

# Verify DNS configuration for a domain
appliku domains check-dns --team my-team --app 42 --domain example.com

datastores

Manage attached datastores (PostgreSQL, MySQL, Redis, etc.).

appliku datastores list    --team my-team --app 42
appliku datastores start --team my-team --app 42 --id 5
appliku datastores stop --team my-team --app 42 --id 5
appliku datastores restart --team my-team --app 42 --id 5
appliku datastores delete --team my-team --app 42 --id 5

volumes

Manage persistent volumes attached to an application.

appliku volumes list   --team my-team --app 42
appliku volumes delete --team my-team --app 42 --id 3

crons

Manage cron jobs for an application.

appliku crons list   --team my-team --app 42
appliku crons delete --team my-team --app 42 --id 8

clusters

Manage Docker Swarm clusters.

appliku clusters list   --team my-team
appliku clusters delete --team my-team --id 2

servers

Inspect servers attached to your team.

appliku servers list --team my-team
appliku servers get --team my-team --id 10

invites

Manage pending team invitations.

appliku invites list   --team my-team
appliku invites delete --team my-team --id 4

migrations

Manage and inspect database migrations.

appliku migrations list --team my-team
appliku migrations logs --team my-team --id 99

ssh-keys

Manage the SSH public keys associated with your account. These keys are used for server access.

# List your SSH public keys
appliku ssh-keys list

# Add a new SSH public key
appliku ssh-keys add --key "ssh-rsa AAAA... user@host"

# Add your existing public key from a file
appliku ssh-keys add --key "$(cat ~/.ssh/id_ed25519.pub)"

# Remove an SSH public key by ID
appliku ssh-keys delete --id 12

Generating an SSH key pair

If you don't have a key yet, generate one with:

ssh-keygen -t ed25519 -C "your_email@example.com"

This creates two files: ~/.ssh/id_ed25519 (private key — keep this safe) and ~/.ssh/id_ed25519.pub (public key). Then add the public key to Appliku:

appliku ssh-keys add --key "$(cat ~/.ssh/id_ed25519.pub)"