Upgrade Remotion
-
Inspect the project manifests and lockfile to identify the package manager and workspaces. Preserve unrelated changes.
-
Determine whether
@remotion/cliis locally available. If it is, run:npx remotion upgradeSkip the manual package upgrade below.
-
If
@remotion/cliis not available, upgrade manually:- Get the latest stable Remotion version with
npm view remotion version. - Find every installed
remotionand@remotion/*dependency across the project and upgrade them all to that exact version. Preserve their dependency sections and the project's workspace or catalog conventions. - Read the current Mediabunny compatibility page and determine the Mediabunny version compatible with the target Remotion version. Upgrade every installed
mediabunnyand@mediabunny/*package to the documented compatible version. - Run the project's package manager to update its lockfile.
- Get the latest stable Remotion version with
-
Update the installed Remotion skills:
npx remotion skills update -
Review the manifest and lockfile diff. Ensure all Remotion packages use one version and all installed Mediabunny packages use the compatible version. If the CLI is available, run
npx remotion versionsas an additional check.
The Remotion releases contain the changelog and may be useful for summarizing relevant changes after the upgrade.