Skip to content

🎥 Make videos programmatically with React

Replace add-skills with skills

Ayushman38ef9f6f6aa6
diff --git a/packages/create-video/src/install-skills.ts b/packages/create-video/src/install-skills.ts
index 3edbf2e4c4..9216f5aeec 100644
--- a/packages/create-video/src/install-skills.ts
+++ b/packages/create-video/src/install-skills.ts
@@ -10,9 +10,9 @@ export const installSkills = async (projectRoot: string) => {
[
'-y',
'--loglevel=error',
+ 'skills',
+ 'add',
'remotion-dev/skills',
- '--yes',
],
{
cwd: projectRoot,
@@ -22,6 +22,6 @@ export const installSkills = async (projectRoot: string) => {
} catch (e) {
Log.error('Error installing skills:', e);
Log.error('You can install them manually by running:');
- Log.error(' npx add-skill remotion-dev/skills');
+ Log.error(' npx skills add remotion-dev/skills');
}
};