doctl Verified current stable Not installed? Cloud Infrastructure

Doctl / List All Apps Doctl

List All Apps Doctl

List all applications using the `doctl` CLI.

$
Terminal
doctl a ls

When To Use

When auditing applications within your DigitalOcean account.

Pro Tip

Add `--format` to customize output; e.g., `doctl apps list --format 'ID, Name'` for compact display.

Anatomy of Output

Understanding the result

ID: app-123456, Name: my-app, Status: active Application Status

Basic information about the state of each app.

ID: app-654321, Name: another-app, Status: deployed Another Application

Shows the deployment state of your applications.

Total Apps: 2 Summary Count

The total number of applications listed.

Power User Variants

Optimized versions

doctl apps list --region nyc1

Filter apps by a specific geographic region.

doctl apps list --search my-app

Filter apps based on a search term.

Troubleshooting

Common pitfalls

Error: unauthorized access

Solution: Check that your API token has proper permissions.

Error: network timeout

Solution: Verify your internet connection or retry the command.

Error: malformed request

Solution: Ensure correct syntax in your command.

Command Breakdown

What each part is doing

doctl
Base Command
The executable that performs this operation. Here it runs Doctl before the shell applies any redirect operators.
a
a|apps
The value supplied for a|apps.
ls
ls|list
The value supplied for ls|list.

Alternative Approaches

Comparable commands in other tools

Alternative cloud infrastructure tools for the same job.