- Install Node.js 18+ from https://nodejs.org
- Install
pnpmonce:
npm install -g pnpmDouble-click start-app.bat.
What it does:
- Checks that
pnpmis available. - Finds a free local port between
5173and5200. - Starts the Vite dev server.
- Opens the browser automatically.
pnpm install
pnpm devThen open the local URL shown by Vite, usually http://localhost:5173.
pnpm install
pnpm electron:devThis starts both the Vite dev server and the Electron window.
pnpm electron:build:portable # Portable .exe (no installer)
pnpm electron:build # NSIS installer + portable
pnpm electron:build:installer # NSIS installer onlyBuild output goes to release/ (installer) or release-portable/ (portable).
- If
pnpmis not found, runnpm install -g pnpmand open a new terminal. - If the default port is busy, Vite or
start-app.batwill use another free local port. - If dependencies are broken, delete
node_modules/and runpnpm installagain. - On Windows, check-setup.bat can verify the local setup.