123,833
stars
+4
17,913
forks
2,785
watchers
32,622
prs
22,046
issues
1,000
releases
0
discussions
README
:memo: Available Translations: 🇨🇳 🇧🇷 🇪🇸 🇯🇵 🇷🇺 🇫🇷 🇺🇸 🇩🇪. View these docs in other languages on our Crowdin project. The Electron framework lets you write cross-platform desktop applications using JavaScript, HTML and CSS. It is based on Node.js and Chromium and is used by the Visual Studio Code and many other apps. Follow @electronjs on Twitter for important announcements. This project adheres to the Contributor Covenant code of conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to [email protected]. Installation To install prebuilt Electron binaries, use npm. The preferred method is to install Electron as a development dependency in your app: sh npm install electron --save-dev For more installation options and troubleshooting tips, see installation. For info on how to manage Electron versions in your apps, see Electron versioning. Platform support Each Electron release provides binaries for macOS, Windows, and Linux. macOS (Ventura and up): Electron provides 64-bit Intel and Apple Silicon / ARM binaries for macOS. Windows (Windows 10 and up): Electron provides x64 (amd64) and arm64 binaries for Windows. Linux: Electron provides x64 (amd64) and arm64 binaries for Linux. Electron supports major Linux distributions (e.g., Ubuntu, Fedora, Debian) in versions that are still supported by both Chromium and the distro maker (without requiring a paid subscription). The prebuilt binaries are built on Ubuntu. In general, Electron tries to align with Chromium on platform support. Electron Fiddle Use Electron Fiddle to build, run, and package small Electron experiments, to see code examples for all of Electron's APIs, and to try out different versions of Electron. It's designed to make the start of your journey with Electron easier. Resources for learning Electron electronjs.org/docs - All of Electron's documentation electron/fiddle - A tool to build, run, and package small Electron experiments Programmatic usage Most people use Electron from the command line, but if you require electron inside your Node app (not your Electron app) it will return the file path to the binary. Use this to spawn Electron from Node scripts: javascript const electron = require('electron') const proc = require('node:child_process') // will print something similar to /Users/maf/.../Electron console.log(electron) // spawn Electron const child = proc.spawn(electron) Mirrors China See the Advanced Installation Instructions to learn how to use a custom mirror. Documentation translations We crowdsource translations for our documentation via Crowdin. We currently accept translations for Chinese (Simplified), French, German, Japanese, Portuguese, Russian, and Spanish. Contributing If you are interested in reporting/fixing issues and contributing directly to the code base, please see CONTRIBUTING.md for more information on what we're looking for and how to get started. Community Info on reportin
Top issues
#673Idea of runtime mode296 comments · 2014-10-01#3797Add FreeBSD support to electron155 comments · 2015-12-12#8124Cache data is written to `userData` dir instead of `cache` dir115 comments · 2016-12-01#1335Support click-through of transparency105 comments · 2015-03-31#42510[Bug]: The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now.90 comments · 2024-06-14#228Headless version for testing82 comments · 2014-04-09#24573WebAuthn FIDO/FIDO2 Support74 comments · 2020-07-15#10862Per monitor DPI awareness causes issues with window positioning and sizing71 comments · 2017-10-20
Latest release
electron v45.2.3 v45.2.3 2026-11-04Release Notes for v45.2.3 Other Changes Backported fixes from upstream ANGLE, Chromium, Dawn, FFmpeg, minigbm, PDFium, Skia and V8. 55592 Documentation Documentation changes: 55600
相关报道 (5)
News & coverage (16)
Hacker NewsElectron-based apps cause system-wide lag on macOS 26 Tahoe▲ 302 · 214 comments · 2025-09-25Hacker NewsElectron 9.0▲ 98 · 124 comments · 2020-05-19Hacker NewsLet's Encrypt root CA isn't working properly in Electron▲ 21 · 1 comments · 2021-10-03Hacker NewsI'll pay you $100 for an Electron PR▲ 20 · 12 comments · 2020-01-09Hacker NewsAsk HN: What does the future hold for Electron?▲ 4 · 3 comments · 2021-10-16Hacker NewsAsk HN: Has anyone completed a license agreement with Google Widevine?▲ 1 · 0 comments · 2019-03-11The TennesseanSanad Browser Introduces Saudi-Developed Open-Source Browser for Windows2026-10-30HackerNoonI Tested REA, GitHub’s Viral Reverse Engineering Tool, on a Real Electron App2026-10-12Visual Studio MagazineElectron.NET Uses ASP.NET Core 2.0 for Cross-Platform Desktop Apps2017-11-02InfoQGitHub Rewrites its Desktop Client Using Electron2017-05-16