Skip to main content

创建新项目

先决条件

🌐 Prerequisites

要使用 Remotion,你至少需要 Node 16Bun 1.0.3

使用 Claude Code 提示视频

🌐 Prompting a video with Claude Code

If you plan on prompting videos with Claude Code, see: Prompting videos with Claude Code.

为一个新项目搭建脚手架

🌐 Scaffolding a new project

note

🐧 Linux 发行版至少需要 Libc 2.35 版本。
它们还需要 安装一些附加的软件包
Alpine Linux 和 NixOS 不受支持。

Use npm as the package manager
npx create-video@latest

选择最适合你的模板。
对于你的第一个项目,我们推荐使用 Hello World 模板。

🌐 Choose the template that is most suitable for you.
For your first project, we recommend the Hello World template.

在项目搭建完成后,我们建议在文本编辑器中打开项目并启动 Remotion Studio

🌐 After the project has been scaffolded, we recommend to open the project in your text editor and starting the Remotion Studio:

npm run dev

在现有项目中的安装

🌐 Installation in existing projects

想在现有项目中安装 Remotion 吗?请改到这里:在现有项目中安装

🌐 Want to install Remotion in an existing project? Go here instead: Installation in existing projects