Supported Runtimes for DigitalOcean Functions

Functions are blocks of code that run on demand without the need to manage any infrastructure. Develop on your local machine, test your code from the command line (using doctl), then deploy to a production namespace or App Platform — no servers required. Learn more about functions.


Functions currently has eight different runtimes, representing four different programming languages:

  • Go 1.17
  • Go 1.20
  • Node.js 14
  • Node.js 18
  • PHP 8.0
  • PHP 8.2
  • Python 3.9
  • Python 3.11

You can also view the list of supported runtimes with doctl serverless status --languages.

Language-specific Reference

Details on developing Functions using Go.
Details on developing Functions using Node.js JavaScript.
Details on developing Functions using PHP.
Details on developing Functions using Python.