Stackblitz Desktop - Full-Stack Web IDE on Windows 10/11 A local desktop shell for building and previewing Node.js web applications in a browser sandbox, with continuous GitHub sync. Written for developers and Windows administrators who need to audit configuration paths, runtime modes, shortcuts, CLI flags, and failure modes before deploying Stackblitz Desktop across a team. Overview | Requirements…
Stackblitz Desktop for Windows 10/11. Builds and previews full-stack web apps in a local desktop shell, running Node.js projects in the browser sandbox and syncing code with your GitHub repos as you edit.
Stackblitz Desktop - Full-Stack Web IDE on Windows 10/11
A local desktop shell for building and previewing Node.js web applications in a browser sandbox, with continuous GitHub sync. Written for developers and Windows administrators who need to audit configuration paths, runtime modes, shortcuts, CLI flags, and failure modes before deploying Stackblitz Desktop across a team.
Stackblitz Desktop wraps the WebContainer runtime in a native Windows shell so full-stack Node.js projects can be edited, built, and previewed without a local toolchain install. It targets developers, team leads, and IT staff who standardize a single IDE build across machines.
What It Does
It boots a local desktop process that hosts a browser-based editor, runs npm installs and Vite/Next.js dev servers inside the WebContainer sandbox, and mirrors committed work to a connected GitHub repository. Nothing is written to a global Node install; the sandbox owns the dependency graph per project.
Who It Is For
Front-end and full-stack developers who want preview parity with the browser without maintaining WSL, nvm, or per-machine Node versions. IT administrators use the document below to pin versions, control the update channel, and redirect logs and caches to managed paths.
What Ships in the Build
The installer deploys the desktop shell, the WebContainer runtime bundle, the embedded Chromium preview surface, and a helper CLI (stackblitz.exe) used for headless project opens and diagnostics.
Requirements
Spec
Minimum
Recommended
OS
Windows 10 21H2 (x64)
Windows 11 23H2 or later
CPU
2 cores, 2.0 GHz
4 cores, 2.8 GHz or faster
RAM
4 GB
16 GB
Display
1280x720
1920x1080 or higher
Storage
1.5 GB free
10 GB free SSD
Network
10 Mbps, GitHub reachable
50 Mbps, GitHub + npm registry reachable
Key Features
WebContainer sandbox , runs Node.js projects in an in-process virtual filesystem without installing Node globally.
Live GitHub sync , commits edits to a linked repository on a configurable debounce interval.
Embedded preview surface , serves the dev server port inside an isolated Chromium frame.
Project import , pulls a repository by URL or zip without a prior local clone.
Dependency cache , persists decoded node_modules tarballs across projects under a shared cache root.
Headless open , launches a project into the shell from Explorer context menu or CLI.
Port forwarding , exposes sandbox ports to localhost for external browser testing.
Managed update channel , switches between stable and preview builds via a single registry value.
The embedded Chromium frame never receives the dev server port, usually because the forwarded port is occupied or blocked by a firewall rule.
Run stackblitz.exe --open <repo> --port 5180 to force a different port.
Confirm no other process holds the port with netstat -ano | findstr :5180.
Allow stackblitz.exe through Windows Defender Firewall on private networks.
Clear the WebContainer cache via --reset-cache and reopen the project.
GitHub sync stalls with repeated 401 responses
The stored OAuth token has expired or the linked repository was renamed, so commits queue indefinitely.
Sign out and back in from the command palette (Ctrl+Shift+P).
Verify the repo still exists and your account retains write access.
Inspect %LOCALAPPDATA%\StackblitzDesktop\Logs for the failing request.
Trigger a manual sync with Ctrl+Shift+S after re-authentication.
npm install fails inside the sandbox with ENOENT
The dependency cache has a partial tarball, often after an interrupted install or a full disk during extraction.
Run stackblitz.exe --reset-cache before opening the project.
Confirm %LOCALAPPDATA%\StackblitzDesktop\Cache has free space above cache.maxGb.
Delete the project’s .stackblitz folder if one exists and reopen.
Retry with --log-level debug to capture the missing path.
Tray icon missing and autostart does not fire
The shell is configured for silent start but the tray registration was removed by a policy or a stale shortcut.
Set autostart.tray to true in settings.json.
Restart the shell and check Task Manager for the StackblitzDesktop process.
Reinstall with --repair if the startup shortcut is absent.
Confirm %PROGRAMDATA%\StackblitzDesktop\policy.json does not disable tray mode.
FAQ
Can Stackblitz Desktop run a project that needs native Node addons?
No. The WebContainer sandbox executes JavaScript and WebAssembly only, so packages with native .node binaries fail to load. Use WSL2 or a host Node install for those projects.
Does the shell keep working offline?
Projects already cached under the WebContainer cache open and preview offline. GitHub sync queues changes and flushes when connectivity returns, but a cold import requires network access to GitHub and the npm registry.
Where do I change the preview port and sync interval together?
Both live in %APPDATA%\StackblitzDesktop\settings.json under preview.port and sync.debounceMs. Machine-wide overrides belong in %PROGRAMDATA%\StackblitzDesktop\policy.json, which takes precedence.
Notes
Stackblitz and WebContainer are trademarks of their respective owners. Stackblitz Desktop is an independent Windows wrapper and is not affiliated with or endorsed by Stackblitz Ltd. Windows is a trademark of Microsoft Corporation.
评论