CLI options

The default command in package.json that powers npm run build is:

npx remotion render <entry-file> <composition-id> <output-location>


Besides choosing a video and output location with the command line arguments, the following flags are supported:


If you don't feel like passing command line flags every time, consider creating a remotion.config.ts config file.

Example command#

npx remotion render --overwrite --codec=vp8 src/index.tsx HelloWorld video.mp4

See also#