electron-builder produces macOS, Windows, and Linux installers and archives from Electron projects, with built-in auto-update hooks and publishing helpers.
Overview
electron-builder automates turning an Electron application into platform-specific distributables such as dmg, MSI, NSIS installers, portable builds, AppX packages, and Linux deb or rpm formats. Configuration can live in package.json or separate JS, TS, YAML, or JSON files.
electron-updater integrates with the packaging pipeline so shipped apps can download updates from providers including GitHub Releases, Amazon S3, and DigitalOcean Spaces. Code signing and notarization flows are documented for macOS and Windows release builds.
The tool downloads signing and packaging utilities on demand, supports two-package.json layouts without forcing them, and can build inside Docker for Linux or Windows targets from other hosts. Parallel publish steps and hard-link optimizations cater to CI usage.
Developers invoke the electron-builder CLI or programmatic API from Node.js. Icons, file globs, native module rebuilding, and asar packaging defaults are part of the standard workflow described in the project documentation.
Key features
- Multi-platform installers
- electron-updater integration
- GitHub and S3 publishing
- Code signing support
- Docker-based Linux builds
- Programmatic Node API
- Numerous target formats
- On-demand tooling download
Use cases
- Shipping Electron desktop releases
- CI-built signed installers
- Auto-updating desktop apps
- Cross-compiling Linux packages
- Windows Store AppX builds