Skip to main content

npx create-video

Scaffold a new Remotion project.

npx create-video <directory>

If no arguments are passed, an interactive TUI will guide you through the setup.

Arguments

<directory>

The directory in which the project should be created.

Flags

--yesv4.0.439

Enable non-interactive mode. All prompts are skipped with sensible defaults.

Requires a template flag and a directory argument.

When used:

  • TailwindCSS is installed if the template supports it (disable with --no-tailwind)
  • Agent skills are not installed
  • The editor is not opened
  • If already inside a Git repository, the command fails
npx create-video --yes --blank my-video

-yv4.0.439

Alias for --yes.

--no-tailwindv4.0.439

When combined with --yes, skip installing TailwindCSS. Without --yes, this flag has no effect because TailwindCSS is offered interactively.

npx create-video --yes --blank --no-tailwind my-video

--tmpv4.0.214

Create the project in a temporary directory instead of specifying a directory name.

npx create-video --yes --blank --tmp

Template flags

Pass a template name as a flag to skip the template selection prompt.

npx create-video --blank my-video

Available templates: --blank, --hello-world, --next, --vercel, --next-no-tailwind, --next-pages-dir, --recorder, --prompt-to-motion-graphics, --javascript, --render-server, --electron, --react-router, --three, --still, --audiogram, --music-visualization, --prompt-to-video, --skia, --overlay, --code-hike, --stargazer, --tiktok.

Non-interactive mode

By passing --yes (or -y), all prompts are skipped and the project is created with sensible defaults. This is useful for scripting and AI agents like Claude Code.

A template flag and a directory argument are required.

npx create-video --yes --blank my-video

When using --yes:

  • TailwindCSS is installed if the template supports it. Pass --no-tailwind to skip it.
  • Agent skills are not installed. You can add them manually afterwards by running npx skills add remotion-dev/skills in the project directory.
  • The editor is not opened after scaffolding.
  • The command fails if you are already inside a Git repository.

Examples

Without TailwindCSS:

npx create-video --yes --blank --no-tailwind my-video

In a temporary directory:

npx create-video --yes --blank --tmp