Clone this boilerplate
Replace electron-svelte-app to folder of your choice and with your project name eg. Cloning the project into Documents folder C:\Users\UserName\Documents\My App
npx degit DogFoxX/electron-svelte-template electron-svelte-app
Switch to cloned directory
Again, replace electron-svelte-app with your project directory from the first step
cd electron-svelte-app
Install all Dependencies
npm install
Run in dev mode
npm run dev