Skip to content

🎥 Make videos programmatically with React

Recommend `npx create-video@latest` instead of `npm init video`

Jonny Burgerc985a14a631e
diff --git a/README.md b/README.md
index aca35e8f84..bdcef464e2 100644
--- a/README.md
+++ b/README.md
@@ -44,7 +44,7 @@ Remotion is a framework for **creating videos programmatically using React.**
If you already have Node.JS installed, type
```console
-npm init video
+npx create-video@latest
```
to get started. Otherwise, read the [installation page](https://www.remotion.dev/docs/) in the documentation.
diff --git a/packages/core/README.md b/packages/core/README.md
index aca35e8f84..bdcef464e2 100644
--- a/packages/core/README.md
+++ b/packages/core/README.md
@@ -44,7 +44,7 @@ Remotion is a framework for **creating videos programmatically using React.**
If you already have Node.JS installed, type
```console
-npm init video
+npx create-video@latest
```
to get started. Otherwise, read the [installation page](https://www.remotion.dev/docs/) in the documentation.
diff --git a/packages/create-video/src/index.ts b/packages/create-video/src/index.ts
index 871e478e96..902f21ce99 100644
--- a/packages/create-video/src/index.ts
+++ b/packages/create-video/src/index.ts
@@ -10,6 +10,6 @@ export {Template} from './templates';
export default () => {
throw new Error(
- 'create-video is a CLI tool only. Run `npm init video`, `pnpm create video` or `yarn create video` instead!',
+ 'create-video is a CLI tool only. Run `npx create-video@latest`, `pnpm create video` or `yarn create video` instead!',
);
};
diff --git a/packages/docs/components/LandingPage/GetStartedStrip.tsx b/packages/docs/components/LandingPage/GetStartedStrip.tsx
index 67226bbf35..ca6771b14b 100644
--- a/packages/docs/components/LandingPage/GetStartedStrip.tsx
+++ b/packages/docs/components/LandingPage/GetStartedStrip.tsx
@@ -25,13 +25,13 @@ export const GetStarted: React.FC = () => {
<div
className={styles.codeblock}
onClick={() => {
- navigator.clipboard.writeText("npm init video");
+ navigator.clipboard.writeText("npx create-video@latest");
setClicked(Date.now());
}}
title="Click to copy"
>
- $ npm init video
+ $ npx create-video@latest
</div>
<div style={{ width: 10 }} />
<a
diff --git a/packages/docs/docs/deploy-remotion-studio.md b/packages/docs/docs/deploy-remotion-studio.md
index 0987b6761f..a7fd4f420f 100644
--- a/packages/docs/docs/deploy-remotion-studio.md
+++ b/packages/docs/docs/deploy-remotion-studio.md
@@ -21,7 +21,7 @@ You can deploy the Remotion Studio to a long-running server in the cloud and mak
- Run `npx remotion studio` on the server
- Ensure port 3000 is available to the internet
-The following examples have been tested with the [Hello World](/templates/hello-world) template initialized using `npm init video`.
+The following examples have been tested with the [Hello World](/templates/hello-world) template initialized using `npx create-video@latest`.
## Dockerizing the Remotion Studio
diff --git a/packages/docs/docs/getting-started.md b/packages/docs/docs/getting-started.md
index a8683c5a20..1716487d50 100644
--- a/packages/docs/docs/getting-started.md
+++ b/packages/docs/docs/getting-started.md
@@ -30,7 +30,7 @@ values={[
<TabItem value="npm">
```bash
-npm init video
+npx create-video@latest
```
</TabItem>
diff --git a/packages/docs/docs/spline.md b/packages/docs/docs/spline.md
index cdeb647dcf..b2adffa1dc 100644
--- a/packages/docs/docs/spline.md
+++ b/packages/docs/docs/spline.md
@@ -70,7 +70,7 @@ Your 3D model should look like this:
## Animating 3D Model using Remotion
-1. Create a new Remotion project from the React Three Fiber template by running `npm init video`.
+1. Create a new Remotion project from the React Three Fiber template by running `npx create-video@latest`.
![Project Starter](../static/img/spline-guide/12_project_starter.png)
diff --git a/packages/docs/docs/studio/deploy-server.mdx b/packages/docs/docs/studio/deploy-server.mdx
index 4130e0fccb..8719cb4236 100644
--- a/packages/docs/docs/studio/deploy-server.mdx
+++ b/packages/docs/docs/studio/deploy-server.mdx
@@ -21,7 +21,7 @@ To do so, you need to:
- Run `npx remotion studio` on the server
- Ensure port 3000 is available to the internet
-The following examples have been tested with the [Hello World](/templates/hello-world) template initialized using `npm init video`.
+The following examples have been tested with the [Hello World](/templates/hello-world) template initialized using `npx create-video@latest`.
## Dockerizing the Remotion Studio