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"}}
Using Denov4.0.227
Deno is not supported by Remotion.
If you like to experiment nonetheless, use npx remotiond to run the Deno version of the CLI.
package.jsonjson{"scripts": {"render": "remotiond render"}}
package.jsonjson{"scripts": {"render": "remotiond 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.
ffmpeg commandffprobe commandExample 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.