Back

create-arsh-electron: Electron, one command away

September 29, 2026 · Products

create-arsh-electron shipped to npm today. It answers a narrow question: it's 2026 — why should starting an Electron desktop app still mean installing a scaffold and then fixing a round of build config?

npm create arsh-electron@latest my-app
bash

What it is: an Electron project that's right out of the box

One command gets you a complete Electron 42 + Vite 8 + React 19 + TypeScript 6 + Tailwind CSS 4 project, plus:

  • A frameless window with a hand-rolled title bar (minimize / maximize / close, optional pin) and 8 common UI primitives with CSS-variable theming — the layer every desktop project otherwise rewrites;
  • A vitest baseline and GitHub Actions CI: lint, typecheck and tests run automatically on push/PR;
  • Packaging fixes built in: build outputs cleaned every run, a dependencies/devDependencies split, Electron binary mirrors, a complete .gitignore, and git initialized with a first commit.

Naming is derived too: my-app becomes productName MyApp and appId com.arshdelight.myapp (--scope overrides the prefix), with author pulled from your git config — the YourAppID / YourAppName placeholders you'd hunt down in the official scaffold don't exist here.

First launch of a scaffolded project: frameless window, custom title bar and starter page

Figure: the starter page — frameless window, custom title bar, hot-reload demo included

The numbers

Measured on Windows 11 / Node 24: scaffold in 0.5s, npm install in 7.5s, npm run build end to end in 35.2s producing a 97.7 MB installer, app.asar at 0.26 MB, bundled tests 3/3 passing.

Up and running in thirty seconds

  1. npm create arsh-electron@latest my-app (Node ≥ 20.11; two prompts — project name, git init or not)
  2. cd my-app && npm install
  3. npm run dev — the window opens with hot reload
  4. Want the details: why the four build fixes look the way they do, and how AGENTS.md interviews your conventions — read the long-form create-arsh-electron: a 2026 Electron scaffold

MIT licensed. Evaluating Electron for a desktop product, or looking to have one built for you? Talk to us.

Related posts

Was this article helpful?

Questions, corrections, or your own take. We read every piece of feedback.

Let's talk about your project

Most of the problems in this article — we've stepped in them and fixed them ourselves. Arshtech builds web systems, desktop software, and AI-assisted delivery for small businesses, working remotely at a per-project price.