Skip to main content
The Rive CLI brings Rive into your terminal. Build .riv files for your app or game and .rev files that open in the Rive Editor, with a live preview running locally as you work. Pair the CLI with your coding agent of choice to build a scene from scratch, or modify and inspect an existing Rive graphic from your account. You describe the graphic, the agent writes the scene in Rive Markup Language (RML), and you watch the result take shape and steer it as it goes.

What it enables

  • Build with RML. Build entire Rive scenes using Rive Markup Language (RML). The CLI parses this to compile a local preview, and can build .riv assets from it.
  • Check what you built. Confirm a scene compiles, inspect what it actually contains, and look up any type in the Rive object model.
  • Pair with a coding agent. A new project comes with instructions an agent reads, so it knows how to look things up and check its own work. See AI Agents.
  • Render and test without a window. Capture frames as images, drive a scene with simulated input and data, and run script tests
  • Keep your work in version control. A project is a folder of text and assets, so it diffs and reviews with the rest of your code.
Coming soon: Syncing Rive graphics from CLI with files in your editor.