Command line reference
How to use
You can run the CLI by installing @remotion/cli and running:
- npx remotioninside a npm project
- yarn remotioninside a Yarn project
- pnpm 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
package.jsonjson
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
package.jsonjson
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
package.jsonjson
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
Fig.io autocompletion
Install Fig (macOS only) to add Remotion autocomplete to your terminal.
Type npx remotion to start getting suggestions.