Skip to main content

npx remotion upgrade

Upgrades all Remotion-related packages.

If mediabunny is installed, it will also be upgraded to the version compatible with 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 and bun.

--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.

Package manager support

npm, yarn and pnpm are all supported.

Additional arguments

Any additional arguments you pass to this command will be forwarded as flags to the package manager, before the list of packages.
Before v4.0.246, additional arguments were ignored.

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.