remotion-upgrade
1st-party AIQ Labs seed library · Coding & Development
Automates upgrading Remotion libraries, dependencies, and related packages in a project.
Pass rate with the skill minus without, same tasks, same model.
- Content Lift forced arm
- +13pp [0, +38]
- Trigger rate
- 100%
- Trials
- 24 · 8 tasks
- Model
- GLM-5.3-flash
- Measured
- 2026-10-15
Content Lift = the skill's instructions injected into the system prompt, so it measures what the content does once loaded, apart from whether the agent chooses to load it. Method →
Embed this score · live badge for your README
The badge shows the real benchmark number and updates itself when we re-bench — including the honest states (“did not trigger”, “not benched yet”). All badge options →
[](https://skillzbench.com/skills/remotion-upgrade)[](https://skillzbench.com/skills/remotion-upgrade)<a href="https://skillzbench.com/skills/remotion-upgrade"><img src="https://skillzbench.com/api/badge/remotion-upgrade.svg" alt="SkillzBench benchmark" height="20"></a>A/B outputs — median trial per arm
Chat harness (v2): the agent's final message without the skill (left) vs with it (right).
remotion-upgrade--m1
Change the versions of all three packages to 4.0.0:
{
"dependencies": {
"remotion": "4.0.0"
},
"devDependencies": {
"@remotion/cli": "4.0.0",
"@remotion/bundler": "4.0.0"
}
}
Then run your package manager's install command (e.g. npm install, yarn, or pnpm install) to apply the changes.
Note: Remotion packages must all be on the exact same version, so it's important that all three are updated together — which you're doing here.
In your package.json, change all three Remotion packages to the exact same version — Remotion requires all remotion / @remotion/* packages to be aligned:
{
"dependencies": {
"remotion": "4.0.0",
"@remotion/cli": "4.0.0",
"@remotion/bundler": "4.0.0"
}
}
Notes:
- Keep them in their existing dependency sections (e.g., if
@remotion/bundleris indevDependencies, leave it there) and don't touch unrelated entries. - After editing, run your package manager's install command (
npm install,yarn, orpnpm install) to update the lockfile. - Tip: since
@remotion/cliis installed locally, you can alternatively let the CLI do this for you withnpx remotion upgrade, which bumps all Remotion packages to the latest version at once. Afterwards you can verify withnpx remotion versionsthat everything reports 4.0.0.
remotion-upgrade--m2
Run this in your project root:
npm install remotion@4.0.0 @remotion/cli@4.0.0 @remotion/renderer@4.0.0 @remotion/media@4.0.0 --save-exact
Or with pnpm:
pnpm add remotion@4.0.0 @remotion/cli@4.0.0 @remotion/renderer@4.0.0 @remotion/media@4.0.0 --save-exact
Or with yarn:
yarn add remotion@4.0.0 @remotion/cli@4.0.0 @remotion/renderer@4.0.0 @remotion/media@4.0.0 --exact
A few notes:
- All Remotion packages must be on the same version — mixing 3.3.3 and 3.2.1 (as you have now) can cause subtle runtime errors, so this update fixes that too.
@remotion/mediawas deprecated/removed in v4 — if the install fails for that package, remove it from package.json entirely; its functionality moved into coreremotion.- The
--save-exactflag pins4.0.0exactly, which is recommended for Remotion so all packages stay in lockstep. - After installing, run
npx remotion upgrade— it checks and fixes version mismatches across all Remotion packages automatically, which is a good safety net. - Then clean install to be safe: delete
node_modulesand your lockfile, and reinstall, since you're jumping a major version (3 → 4). Check the Remotion v4 migration guide for breaking changes (e.g.,calculateMetadata, config file changes) before rebuilding your videos.
Since @remotion/cli is installed locally, the easiest path is:
npx remotion upgrade
This detects all Remotion packages in your project (including @remotion/renderer and @remotion/media) and upgrades them all to the same latest version in one step, then updates your lockfile.
After it finishes, verify everything is aligned:
npx remotion versions
If for some reason the CLI upgrade fails, do it manually: set remotion, @remotion/cli, @remotion/renderer, and @remotion/media all to the exact same version in package.json (e.g. ^4.0.0), then run your package manager's install (npm install / yarn / pnpm install) to refresh the lockfile.
Note: Remotion packages must all be on the exact same version — mismatched versions like your current 3.3.3 / 3.2.1 mix cause subtle runtime errors, so this consolidation is the right call.
remotion-upgrade--m3
For Remotion 4.0.0, set all Remotion packages to the same version:
remotion:4.0.0@remotion/cli:4.0.0@remotion/player:4.0.0
React: Yes — Remotion 4.0.0 requires React 18. Update:
react:18.2.0react-dom:18.2.0
Also make sure all Remotion packages are on exactly the same version (mismatches cause errors), and after upgrading, run npx remotion upgrade in the future to keep everything in sync. You may also want to check the Remotion 4.0 breaking-changes notes for API changes (e.g., config file and CLI option changes) before rebuilding.
Set all Remotion packages to 4.0.0:
{
"dependencies": {
"remotion": "4.0.0",
"@remotion/cli": "4.0.0",
"@remotion/player": "4.0.0"
}
}
Yes, you need to upgrade React. Remotion 4.0 requires React 18 (React 17 is no longer supported). Update:
"react": "18.2.0",
"react-dom": "18.2.0"
A few notes:
- All
remotionand@remotion/*packages must be on the exact same version — mixing 3.3.3 and 4.0.0 will cause errors. - After updating, run your package manager's install to refresh the lockfile (e.g.
npm install). - If
@remotion/cliis installed locally, you can instead just runnpx remotion upgrade, which updates all Remotion packages to matching versions automatically — but you'll still need to bump React to 18 yourself. - Verify afterwards with
npx remotion versionsthat everything is aligned.
remotion-upgrade--m4
Forcing all remotion packages to 4.0.0
1. Update each package.json directly
In every package.json (app + shared package), set exact versions:
{
"dependencies": {
"remotion": "4.0.0",
"@remotion/cli": "4.0.0"
}
}
The shared package's "remotion": "^3.2.1" must become "remotion": "4.0.0" — the ^ is what keeps it resolving to 3.x (since ^3.2.1 never matches 4.0.0).
2. Enforce it repo-wide with overrides
In the root package.json of the monorepo, add an overrides field. This forces every transitive dependency too, regardless of what any package declares:
{
"overrides": {
"remotion": "4.0.0",
"@remotion/cli": "4.0.0",
"@remotion/bundler": "4.0.0",
"@remotion/renderer": "4.0.0",
"@remotion/player": "4.0.0",
"@remotion/media-utils": "4.0.0",
"@remotion/lambda": "4.0.0",
"@remotion/paths": "4.0.0",
"@remotion/shapes": "4.0.0",
"@remotion/google-fonts": "4.0.0",
"@remotion/install-whatever-cmd": "4.0.0"
}
}
(Include only the @remotion/* packages you actually use — any package not listed keeps its own range.)
3. If you use Yarn (classic or berry) or pnpm instead
- Yarn: use
resolutionsinstead ofoverrides:{ "resolutions": { "remotion": "4.0.0", "@remotion/**": "4.0.0" } } - pnpm: use
pnpm.overridesin rootpackage.json:{ "pnpm": { "overrides": { "remotion": "4.0.0" } } }
4. Reinstall and verify
rm -rf node_modules **/node_modules
rm -f package-lock.json # or yarn.lock / pnpm-lock.yaml
npm install
Verify:
npm ls remotion @remotion/cli
Everything should show 4.0.0. If the shared package still shows 3.x, check that the lockfile was actually regenerated and that the overrides block is in the root package.json (overrides only apply from the root in workspaces).
Tip
After upgrading, also update the shared package's declared range to "remotion": "^4.0.0" so future installs stay consistent even without the override.
The cleanest way to force every remotion and @remotion/* package to exactly 4.0.0 — including the shared package's pinned ^3.2.1 — is to use overrides (npm/yarn) or resolutions (pnpm) in your root package.json.
npm / yarn (v1 & berry)
In the root package.json:
{
"overrides": {
"remotion": "4.0.0",
"@remotion/cli": "4.0.0",
"@remotion/bundler": "4.0.0",
"@remotion/renderer": "4.0.0",
"@remotion/player": "4.0.0",
"@remotion/studio": "4.0.0",
"@remotion/media-utils": "4.0.0",
"@remotion/lambda": "4.0.0",
"@remotion/compositor-*": "4.0.0"
}
}
Notes:
- Overrides apply to the whole monorepo (all workspaces), including transitive deps, so the shared package's
^3.2.1will resolve to4.0.0. - If you don't want to enumerate every
@remotion/*package, you can use a wildcard:"overrides": { "@remotion/*": "4.0.0", "remotion": "4.0.0" }(supported in npm ≥ 8.3 / yarn berry). - For yarn v1, use
"resolutions"instead of"overrides"(same syntax).
pnpm
In the root package.json:
{
"pnpm": {
"overrides": {
"remotion": "4.0.0",
"@remotion/*": "4.0.0"
}
}
}
Also do this
- Update the direct dependencies in each workspace's
package.jsonto"4.0.0"(or"^4.0.0") so the manifests themselves are consistent — overrides are a safety net, not a substitute for clean manifests. In particular, change the shared package's"remotion": "^3.2.1"to"^4.0.0". - Delete the lockfile entries for old versions (or just run your install after editing, e.g.
npm install/pnpm install/yarn install) so the lockfile regenerates with 4.0.0 everywhere. - Verify with
npx remotion versions(from the app workspace) — it should report 4.0.0 for all Remotion packages, or checknpm ls remotion/pnpm why remotionto confirm nothing resolves to 3.x.
If @remotion/cli is already installed, you can also just run npx remotion upgrade in the app workspace — it updates the app's Remotion deps, but you'll still need the overrides/resolutions for the shared package's pinned dependency.
remotion-upgrade--m5
Update your package.json to:
"remotion": "4.0.2",
"@remotion/cli": "4.0.2",
"@remotion/bundler": "4.0.2"
Then run:
npm i
(or yarn / pnpm i, depending on your package manager).
A few notes for the 3.x → 4.0 upgrade:
- All Remotion packages must be on the exact same version — including any other
@remotion/*packages you may have (e.g.@remotion/player,@remotion/lambda,@remotion/google-fonts). Bump those to 4.0.2 too. - Remotion 4.0 changed some APIs (e.g.
calculateDuration/composition defaults,useCurrentFramebehavior stays the same, but<Composition>props likefps,durationInFramesare now required in more cases). Check the 4.0 upgrade guide and fix any TypeScript errors after installing. - Run
npx tsc(or your build) afterward to catch breaking changes.
In your package.json, change all three to the same version:
"remotion": "4.0.2",
"@remotion/cli": "4.0.2",
"@remotion/bundler": "4.0.2"
Then run:
npm install
(or yarn / pnpm install, depending on your package manager) to update the lockfile.
Easier alternative: if @remotion/cli is already installed locally, you can skip editing the file manually and just run:
npx remotion upgrade
This bumps all Remotion packages to the latest version and updates the lockfile for you. Afterwards, verify with npx remotion versions that everything is aligned on 4.0.2.
- Results are for the SkillzBench reference agent on GLM-5.3-flash. Switch models above — a skill can help one model and not another.
- Screen tier (1 trial per arm) is directional. Verified needs a full-tier run (≥ 8 tasks, ≥ 3 trials per arm) with the CI excluding zero.
- Task coverage: 8 generated tasks for this skill's category; a skill can shine elsewhere.