Skip to content

🎥 Make videos programmatically with React

remotion upgrade

Raysayheya64acc74ff0a
diff --git a/packages/docs/docs/upgrading-remotion.mdx b/packages/docs/docs/upgrading-remotion.mdx
new file mode 100644
index 0000000000..ce6fce4ac6
--- /dev/null
+++ b/packages/docs/docs/upgrading-remotion.mdx
@@ -0,0 +1,64 @@
+---
+title: Upgrading Remotion
+crumb: "upgrade remotion"
+---
+
+import Tabs from "@theme/Tabs";
+import TabItem from "@theme/TabItem";
+
+## Prerequisites
+
+The Remotion CLI is required for this.
+
+There is no difference in the following commands.
+
+Run one of the following commands in the root of the project you want to upgrade:
+
+<Tabs
+defaultValue="npx"
+values={[
+{ label: 'npx', value: 'npx', },
+{ label: 'pnpm', value: 'pnpm', },
+{ label: 'yarn', value: 'yarn', },
+{ label: 'bunx', value: 'bunx', },
+]
+}>
+<TabItem value="npx">
+
+```bash
+npx remotion upgrade
+```
+
+ </TabItem>
+
+ <TabItem value="pnpm">
+
+```bash
+pnpm exec remotion upgrade
+```
+
+ </TabItem>
+
+ <TabItem value="yarn">
+
+```bash
+yarn remotion upgrade
+```
+
+ </TabItem>
+
+ <TabItem value="bunx">
+
+```bash
+bunx remotion upgrade
+```
+
+ </TabItem>
+</Tabs>
+
+:::note
+Make sure that all remotion packages use the same version.
+
+You can delete the ^ in front of the version number in your package.json in order to prevent auto updates
+:::
+
diff --git a/packages/docs/sidebars.js b/packages/docs/sidebars.js
index 2b02d06ef3..e2f9769daf 100644
--- a/packages/docs/sidebars.js
+++ b/packages/docs/sidebars.js
@@ -837,6 +837,7 @@ module.exports = {
href: "/docs/api",
label: "API Reference",
},
+ "upgrading-remotion",
{
type: "link",
href: "/docs/recorder",