A scaffolding tool for creating Electron projects with Vite integration. Version 0.7.1 requires Node.js ^18.0.0 or >=20.0.0. Provides an interactive CLI to generate project templates for Electron + Vite, supporting frontend frameworks like Vue, React, Svelte, etc. It sets up a project structure with separate main, preload, and renderer processes, leveraging Vite's fast HMR and build capabilities. Updated frequently with community contributions.
npm install create-electron-viteVerified import paths — ran on the pinned version, not inferred.
Creates a new Electron+Vite project, installs dependencies, and starts development server with HMR.
Upgrade Node.js to 18+ or 20+.
Run 'npm create electron-vite@latest' instead of installing the package.
Update to latest: npm create electron-vite@latest
Use the create command: npm create electron-vite@latest
Upgrade Node.js to v18 or v20+.
Use npm create, yarn create, or pnpm create.