Skip to main content

npx remotion upgrade

Upgrades all Remotion-related packages.

Installed auxiliary packages such as zod, mediabunny, and @huggingface/transformers are also upgraded to the versions recommended for the new Remotion version.

If Remotion Agent Skills are installed in the project's .agents/skills directory, they will also be updated. Directories without recognized Remotion skills are left unchanged. Global skills are not updated.

npx remotion upgrade

Flags​

--package-managerv3.2.33​

Forces a specific package manager to be used. By default, Remotion will auto-detect the package manager based on your lockfile.
Acceptable values are npm, yarn, pnpm, bun, nub and vlt.

--versionv4.0.15​

Install a specific version. Also enables downgrading to an older version.

--skip-skillsv4.0.503​

Do not update installed Remotion Agent Skills while upgrading Remotion.

--config​

Specify a location for the Remotion config file.

--log​

One of trace, verbose, info, warn, error.
Determines how much info is being logged to the console.

Default info.

Package manager support​

npm, yarn and pnpm are all supported.

Additional arguments​

Put package-manager flags and their values after --. Remotion forwards them in order to the install command.

npx remotion upgrade -- --ignore-scripts

Forwarding additional arguments is available from v4.0.246.

Difference to npm update, yarn upgrade, pnpm up​

These commands, when executed without arguments will upgrade all dependencies in your project. We recommend against it because you may unintentionally break other parts of your project when you only wanted to upgrade Remotion.