diff --git a/code/lib/cli/src/initiate.ts b/code/lib/cli/src/initiate.ts index c3c60308856e..9015ff5fe528 100644 --- a/code/lib/cli/src/initiate.ts +++ b/code/lib/cli/src/initiate.ts @@ -307,7 +307,7 @@ export async function initiate(options: CommandOptions, pkg: Package): Promise { const sbCliBinaryPath = join(__dirname, `../../code/lib/cli/bin/index.js`); console.log(`🎁 Installing storybook`); const env = { STORYBOOK_DISABLE_TELEMETRY: 'true' }; - await runCommand(`${sbCliBinaryPath} init`, { cwd, env }); + await runCommand(`${sbCliBinaryPath} init --yes`, { cwd, env }); }; const LOCAL_REGISTRY_URL = 'http://localhost:6000';