Retool CLI
The Retool CLI is now available in public beta. It enables you to build, manage, and publish Retool-native React apps from the command line and with the help of your chosen code development agent harness, like Claude Code or Codex.
With this tool, you can write and validate app code directly on your machine. You can use the CLI independently or pair it with a local development agent. Follow the installation instructions to get started, learn how the CLI works, or compare the CLI to the MCP.
Retool supports an existing CLI that is used exclusively for classic apps. This CLI is now deprecated. It will be removed from cloud instances on March 1, 2027, and from stable instances in the Q2 2027 stable release.