Package and Distribute Electron Apps
A complete solution to build ready-for-distribution Electron apps for macOS, Windows, and Linux with auto-update support out of the box.
Quick Start
Get your Electron app packaged and distributed in minutes
Configure your package.json
Add build configuration to your
package.json:package.json
The
appId should be unique to your application and follow reverse-DNS notation.Build your application
Run the build command to package your app:electron-builder will automatically detect your platform and build the appropriate installer. Find your packaged app in the
dist directory.Example output
Example output
Customize your build
Explore configuration options to customize installers, add code signing, configure auto-updates, and more.
Platform Support
Build native installers for all major platforms
macOS
DMG, PKG, and Mac App Store builds with code signing and notarization support.
Windows
NSIS, MSI, AppX, and portable installers with code signing and Squirrel.Windows support.
Linux
AppImage, Snap, Flatpak, deb, rpm, and more distribution formats.
Key Features
Everything you need to ship production-ready Electron apps
Auto Update
Built-in auto-update support with electron-updater for seamless app updates.
Code Signing
Sign your apps for macOS and Windows to avoid security warnings.
Multi-Platform Builds
Build for all platforms from any platform using Docker.
Publishing
Publish to GitHub Releases, S3, DigitalOcean Spaces, and more.
Native Dependencies
Automatic compilation of native Node.js modules for the target platform.
CLI & Programmatic API
Use from command line or integrate into your build pipeline with the programmatic API.
Explore the Documentation
Dive deeper into electron-builder capabilities
Build Configuration
Learn how to configure electron-builder for your project needs
Read moreCode Signing Guide
Sign your applications to ensure users trust your software
Read moreConfiguration Reference
Complete reference for all configuration options
Read moreProgrammatic API
Integrate electron-builder into your build scripts
Read moreReady to build your Electron app?
Install electron-builder and start packaging your application for distribution in minutes.
Get Started Now