packages/docs/docs/cli/add.mdx
Adds one or more Remotion packages to your project with the same version as your other Remotion packages.
Also supports adding zod and mediabunny with the correct version for your Remotion installation.
npx remotion add <package-name...>
Add a single package:
npx remotion add @remotion/transitions
Add multiple packages at once:
npx remotion add @remotion/transitions @remotion/three @remotion/lottie
This command will:
zod, mediabunny)--package-manager<AvailableFrom v="4.0.367"/>npm, yarn and pnpm are all supported.
Any additional arguments you pass to this command will be forwarded as flags to the package manager, before the package name.
This command is useful when you want to add new Remotion packages to your project and ensure they're installed with the same version as your other Remotion packages. This helps avoid version mismatches that could cause compatibility issues.
For example, if you have [email protected] installed and you want to add @remotion/transitions, running npx remotion add @remotion/transitions will install @remotion/[email protected].
When adding multiple packages, the command will install all of them in a single operation with the same version number.