Command line reference
How to use
You can run the CLI by installing @remotion/cli and running:
npx remotioninside a npm projectyarn remotioninside a Yarn projectpnpm exec remotioninside a pnpm project.bunx remotioninside a Bun project
For brevity, in the documentation we always say npx remotion.
Inside an npm script, you don't need the npx prefix:
package.jsonjson{"scripts": {"render": "remotion render"}}
package.jsonjson{"scripts": {"render": "remotion render"}}
Using Bunv4.0.118
By default, the npx remotion command is being executed using Node.
Even bunx remotion is using Node, unless you add the --bun flag.
To use Bun, replace remotion with remotionb.
package.jsonjson{"scripts": {"render": "remotionb render"}}
package.jsonjson{"scripts": {"render": "remotionb render"}}
Commands
The following commands are available - you can always run them using npx remotion or even without the npx prefix if you put the command inside an npm script.
studio
Start the Remotion Studio
render
Render video or audio
still
Render a still image
compositions
List available compositions
lambda
Control Remotion Lambda
bundle
Create a Remotion Bundle
browser
Ensure Remotion has a browser to use
cloudrun
Control Remotion Cloud Run
benchmark
Measure and optimize render time
versions
List and validate Remotion package versions
upgrade
Upgrade to a newer version
gpu
Print information about Chrome's usage of the GPU
ffmpeg
Execute an
ffmpeg commandffprobe
Execute an
ffprobe commandhelp
Show CLI commands
Example command
npx remotion render --codec=vp8 HelloWorld out/video.webm
npx remotion render --codec=vp8 HelloWorld out/video.webm
Fig.io autocompletion
Install Fig (macOS only) to add Remotion autocomplete to your terminal.
Type npx remotion to start getting suggestions.