Reference Home
Last verified 17 Apr 2025
Manage resources programmatically and integrate across the developer ecosystem with CLIs, APIs, and SDKs.
DigitalOcean provides several command-line interfaces (CLIs) and application programming interfaces (APIs) for managing your resources. This section provides the reference materials for these offerings, as well as resources from the open source community.
Godo is the official Go client library for the DigitalOcean API, which lets you programmatically manage Droplets, Kubernetes clusters, databases, and other DigitalOcean resources. Install with go get, authenticate with a personal access token, and call API operations with godo.Client.
Manage your DigitalOcean resources from the command line with doctl, our open-source command line interface (CLI).
DoTs is the official TypeScript client library for the DigitalOcean API, which lets you programmatically manage Droplets, Kubernetes clusters, databases, and other DigitalOcean resources. Install with npm, authenticate with a personal access token, and call API operations with the DoTs client.
The DigitalOcean API lets you programmatically manage Droplets, Kubernetes clusters, databases, and other DigitalOcean resources with conventional HTTP requests. Official client libraries wrap it for Python (PyDo), Go (Godo), and TypeScript (DoTs).
Interact with Paperspace resources programmatically using the Paperspace API or CLI, and find documentation for legacy tools.
PyDo is the official Python client library for the DigitalOcean API, which lets you programmatically manage Droplets, Kubernetes clusters, databases, and other DigitalOcean resources. Install with pip, authenticate with a personal access token, and call API operations with pydo.Client.
Automate DigitalOcean infrastructure and configuration management using the open source Ansible framework.
Deploy and change many resources simultaneously using the open source Terraform tool.
Official and community client libraries for the DigitalOcean API.
DigitalOcean’s open source projects on GitHub, including API client libraries, Prometheus exporters, and infrastructure tooling.
Use MCP servers to manage DigitalOcean services from any MCP-compatible client.
Latest Updates
19 November 2026
-
Released v2.7.0 of doctl, the official DigitalOcean CLI. This release adds an
--enable-insights-logsflag todoctl registries createanddoctl kubernetes cluster createfor sending a new registry’s or cluster’s logs to Insights, and a--turn-typeflag todoctl evaluation metric listanddoctl evaluation custom-metric createfor single-turn and multi-turn metrics.
17 November 2026
-
Released v2.6.0 of doctl, the official DigitalOcean CLI. This release adds a
doctl compute microvm updatecommand for changing a running or paused MicroVM’s name, tags, and auto-pause idle timeout.
13 November 2026
-
Released v2.5.0 of doctl, the official DigitalOcean CLI. This release adds a
doctl harness-runtime regions listcommand, support for the MiniMax Code harness, and a--specflag fordoctl harness-runtime updatethat changes an existing session’s tools, environment variables, and secrets.
For more information, see the full release notes.