Remotion · Troubleshooting

How to Install Remotion (Real Setup, Common Pitfalls)

Installation itself is usually one command — the pitfalls show up in the first render, not the install.

The install command

npx create-video@latest my-video cd my-video npm start

npm start launches Remotion Studio, a local browser-based preview environment — this is where you'll build and preview your composition before rendering anything to a file.

Node version matters more than it seems

Remotion requires a reasonably current Node.js version, and using an old or unsupported version is one of the most common causes of confusing install-time errors that have nothing to do with Remotion itself — missing native module builds, unexpected syntax errors in dependencies. Check your version with node -v and update if it's more than a couple of major versions behind current.

The first render, not the install, is where problems usually appear

npx remotion render src/index.ts MyComp out/video.mp4

This is the actual render command, separate from Studio preview. The two most common first-render issues:

  • FFmpeg not found. Remotion bundles its own FFmpeg binary in most setups, but on certain Linux distributions or CI environments, additional system dependencies are needed for the underlying browser-based rendering to work — check Remotion's platform-specific setup docs if the render fails immediately with a browser or FFmpeg-related error.
  • Composition ID mismatch. The ID passed on the command line must exactly match the id prop of a <Composition> registered in your root file — a typo here produces a clear but easy-to-miss error.

Setting up for AI coding agent use

If you're planning to use Claude Code or Codex to fill in content for a template, install and verify a working render before involving the agent — confirming the base setup works removes one variable when debugging anything that goes wrong later.

Skip the debugging

If you'd rather skip building a composition from scratch entirely, NULLFRAME's templates are a working, pre-tested Remotion setup — install is replaced with paste-and-render.

See the templates

Common questions

What Node version does Remotion require?+
Check the current requirement in Remotion's own documentation, since minimum supported versions change between major Remotion releases — using a recent LTS Node version is generally safe.
Do I need to install FFmpeg separately?+
In most setups, no — Remotion bundles what it needs. Certain Linux/CI environments need additional system libraries for the headless browser rendering to work.
Can I use Remotion without Remotion Studio, purely from the command line?+
Yes — Studio is for interactive preview and development; the render command works standalone once your composition code is written.