SKILL DETAIL
remotion-upgrade
remotion-dev/skills/remotion-upgrade
This skill provides a procedure for upgrading Remotion and related packages. It inspects project manifests and the lockfile to identify the package manager and workspaces, then determines whether @remotion/cli is locally available. If it is, it runs npx remotion upgrade; otherwise it manually upgrades all remotion and @remotion/* dependencies to the latest stable version, aligns auxiliary packages such as zod, mediabunny, and @huggingface/transformers with the versions listed in @remotion/studio dependencies, and updates the lockfile. If the CLI is unavailable, it also updates the installed Remotion skills. Finally, it reviews the manifest and lockfile diff to ensure all Remotion packages use one version.
Installation
npx skills add https://github.com/remotion-dev/skills --skill remotion-upgrade
技能檔案
SKILL.md
最近同步 · 2026年10月22日
agents/openai.yaml›
interface:
display_name: '/remotion-upgrade'
short_description: 'Upgrade Remotion and related dependencies'
icon_small: './assets/remotion-icon.svg'
icon_large: './assets/remotion-icon.svg'
brand_color: '#0B84F3'
default_prompt: '$remotion-upgrade: Upgrade my project.'
assets/remotion-icon.svg›
<svg width="100" height="100" viewBox="20 30 363 363" xmlns="http://www.w3.org/2000/svg">
<title>Remotion</title>
<path d="M148.332 92.9015C143.307 93.1742 139.259 93.9713 135.179 95.5236C133.144 96.2893 129.809 97.957 127.973 99.1108C120.295 103.925 114.443 111.162 111.391 119.584C110.782 121.252 109.136 126.57 108.076 130.23C101.018 154.7 97.0112 181.456 96.1511 209.776C96.0148 214.286 96.0148 225.026 96.1511 229.463C96.728 248.237 98.5216 265.187 101.773 282.472C103.095 289.468 105.213 298.866 106.44 303.135C108.947 311.809 114.065 319.193 121.344 324.605C126.221 328.234 131.759 330.668 137.895 331.863C140.853 332.44 144.755 332.702 147.629 332.514C151.604 332.251 159.491 331.192 165.9 330.049C194.786 324.899 221.469 315.679 245.666 302.485C260.99 294.125 274.09 285.074 286.729 274.092C299.326 263.163 310.066 251.405 319.516 238.21C321.708 235.158 322.81 233.375 323.911 231.131C326.743 225.341 328.075 219.583 328.064 213.143C328.064 207.143 326.932 201.815 324.488 196.361C323.313 193.728 322.191 191.84 319.674 188.253C310.402 175.048 300.112 163.542 287.568 152.361C268.122 135.034 245.026 120.822 219.235 110.302C213.644 108.026 208.138 106.022 201.509 103.851C187.475 99.2681 170.106 95.2929 155.411 93.3105C153.104 92.9959 149.968 92.8176 148.332 92.9015Z" fill="#0B84F3"/>
</svg>
SKILL.md›
---
name: remotion-upgrade
description: Upgrade Remotion, and related packages
version: 4.0.537
---
# Upgrade Remotion
1. Inspect the project manifests and lockfile to identify the package manager and workspaces. Preserve unrelated changes.
2. Determine whether `@remotion/cli` is locally available. If it is, run:
```bash
npx remotion upgrade
```
This also updates project-local Remotion skills. Skip the manual upgrade below.
3. If `@remotion/cli` is not available, upgrade manually:
- Get the latest stable Remotion version with `npm view remotion version`.
- Find every installed `remotion` and `@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 `@remotion/studio` dependencies for the target Remotion version using `npm view @remotion/studio@<version> dependencies --json`. Align installed auxiliary packages such as `zod`, `mediabunny`, and `@huggingface/transformers` with the versions listed there. Use the `mediabunny` version for installed `@mediabunny/*` packages.
- Run the project's package manager to update its lockfile.
4. If `@remotion/cli` is not available, update the installed Remotion skills:
```bash
npx skills update remotion-best-practices remotion-captions remotion-create remotion-docs remotion-interactivity remotion-maps remotion-markup remotion-multimedia remotion-render remotion-saas remotion-studio remotion-upgrade --yes
```
5. Review the manifest and lockfile diff. Ensure all Remotion packages use one version and installed auxiliary packages use their recommended versions. If the CLI is available, run `npx remotion versions` as an additional check.
The [Remotion releases](https://github.com/remotion-dev/remotion/releases) contain the changelog and may be useful for summarizing relevant changes after the upgrade.