Skip to content

doctl

Command-line client for managing DigitalOcean servers, databases and Kubernetes from a

Permissive (OSI) · Apache-2.0
  • macOS
  • Linux
  • CLI

Listed by , founder & editor

84

Health

Thriving

Overview

Stars

3,455

Last commit

today

Nov 2026

Repository age

11 years

since May 2015

Latest version

v2.8.0

Nov 2026

Contributors

–

48 active in 90 days

Releases

20

last 12 months

Docker pulls

543k

digitalocean/doctl

Language

Go

doctl is the command-line interface for the DigitalOcean API. It lets you manage your cloud resources from a terminal instead of the web console. Commands cover compute infrastructure, databases, Kubernetes clusters, container registries, apps, VPCs, projects, monitoring, account details, balance, billing history and invoices.

It is written in Go and runs on Linux and macOS. You can install it with Homebrew, Snap, or the official Arch Linux and Fedora repositories, and it is also available through Nix, Docker Hub and GitHub releases. You authenticate by signing in with your browser or by using an API token, and it can handle several DigitalOcean accounts. Shell auto-completion is available, and it works alongside kubectl, SSH and Docker for registry login.

The project is Apache-2.0 licensed and actively maintained, with 20 releases in the past year. It is a client for DigitalOcean only, so it suits you if DigitalOcean is your cloud provider. It offers a scriptable alternative to the proprietary web control panel.

Who it's for

DevOps engineers running infrastructure on DigitalOcean

You can script droplet, database and Kubernetes operations instead of clicking through the console.

Skip if: You deploy across several clouds and want one provider-neutral tool.

Developers who work mostly in the terminal

Shell completion and browser or token sign-in make everyday tasks quick.

Skip if: You rarely touch DigitalOcean resources and prefer the web dashboard.

Teams wiring DigitalOcean into CI scripts

API token authentication and environment variables suit non-interactive use.

Skip if: You already manage everything with declarative infrastructure tooling.

The problem it solves

Managing cloud resources through a web console is slow and hard to repeat. doctl gives you the same DigitalOcean controls as commands you can script and automate.

Strengths

  • Covers compute, databases, Kubernetes, registries, apps, VPCs and billing
  • Installs through Homebrew, Snap, Arch, Fedora, Nix, Docker Hub or release downloads
  • Supports browser sign-in, API tokens and multiple accounts
  • Active development with 20 releases in the last year
  • Apache-2.0 license

Trade-offs

  • Works only with DigitalOcean
  • Some commands, such as monitoring, are marked beta
  • Snap installs need extra interface connections for kubectl, SSH and Docker

Self-host doctl

Self-hostable
No (desktop or local app)
Docker image
digitalocean/doctl

Quick start

brew install doctl

From the project's own install instructions. Check the docs for production settings.

Frequently asked questions

Is doctl free?

Yes. The tool is open source under the Apache-2.0 license. You pay only for the DigitalOcean resources you use.

Which platforms does it run on?

Linux and macOS, as a command-line tool.

How do I sign in?

You can sign in through your browser or supply an API token. It also supports several accounts.

Can I run it in Docker?

Yes. A Docker image is published on Docker Hub, and you can also build it with Docker.

Similar tools in DevOps and infrastructure automation

argo-cd

DevOps and infrastructure automation

GitOps continuous delivery tool that syncs Kubernetes clusters to definitions in Git

25k 8.1k today Thriving Apache-2.0

pm2

DevOps and infrastructure automation

43k 2.7k 21 days ago Active Unknown

jenkins

DevOps and infrastructure automation

Self-hosted Java automation server for CI/CD pipelines, with over 2,000 plugins

27k 9.9k today Thriving MIT

Tekton

DevOps and infrastructure automation

Kubernetes-native CI/CD pipelines defined as cluster resources, for platform teams

9.1k 2k today Thriving Apache-2.0

Replaces Jenkins

Woodpecker CI

DevOps and infrastructure automation

Lightweight container-native CI/CD engine for teams leaving Jenkins

8.3k 751 today Thriving Apache-2.0

Replaces Jenkins

DebOps

DevOps and infrastructure automation

Ansible roles and playbooks for managing Debian and Ubuntu servers and data centers

1.4k 375 today Thriving GPL-3.0