No description
Find a file
forgejo-actions[bot] c67baa4d07
All checks were successful
/ Build tarball (push) Successful in 55m8s
Inject custom workflow
2026-04-29 18:00:55 +00:00
.devcontainer build: roll build-image to a82b87d (#49449) 2026-01-19 19:01:37 +01:00
.forgejo/workflows Inject custom workflow 2026-04-29 18:00:55 +00:00
.github ci: split macos-x64 tests into 3 shards (40-x-y) (#50973) 2026-04-28 09:09:30 -04:00
.husky build(deps-dev): bump husky and lint-staged (#47291) 2025-06-05 20:23:55 +02:00
.yarn build: use Yarn JsZipImpl for node-modules link to fix arm32 OOM (#51232) 2026-04-22 12:27:02 +02:00
build perf: enable V8 builtins PGO (#50575) 2026-03-31 11:02:38 -05:00
buildflags
chromium_src chore: bump chromium to 144.0.7512.1 (40-x-y) (#48786) 2025-11-07 17:40:25 -05:00
default_app fix: remove decorateURL from default_app (#50899) 2026-04-13 16:20:58 -05:00
docs fix: restrict window.open features to allowlisted BrowserWindow options (#50947) 2026-04-11 19:04:56 -07:00
lib fix: reset printToPDF queue after a rejection (#51220) 2026-04-21 15:31:08 -05:00
npm build: restrict npm tarball contents to an explicit allowlist (#51306) 2026-04-24 13:11:12 +00:00
patches fix: make macOS text replacement work on contenteditable (#51345) 2026-04-27 19:00:09 -05:00
script build: drop script/run-gn-format.py (#51281) 2026-04-23 14:52:12 +02:00
shell fix: validate header name and value in webRequest.onBeforeSendHeaders (#51364) 2026-04-28 12:02:12 -05:00
spec fix: validate header name and value in webRequest.onBeforeSendHeaders (#51364) 2026-04-28 12:02:12 -05:00
typings fix: update label/sublabel/icon in MenuItems on open (#49973) 2026-03-02 11:37:53 -05:00
.autofix.markdownlint-cli2.jsonc
.clang-format
.clang-tidy
.dockerignore
.env.example chore: remove remaining references to AppVeyor (#45339) 2025-02-07 12:57:36 +01:00
.eslintrc.json build: add import/order eslint rule (#44085) 2024-10-02 19:10:44 -07:00
.git-blame-ignore-revs
.gitattributes build: use github actions for windows (#44136) 2024-12-12 11:51:24 -05:00
.gitignore build: update to yarn v4 (#48993) 2025-11-17 16:04:51 -08:00
.lint-roller.json
.markdownlint-cli2.jsonc docs: add Menu module tutorials (#47268) 2025-07-15 15:09:32 -07:00
.nvmrc build: bump version in .nvmrc to 22 (#48413) 2025-10-08 14:21:55 -04:00
.remarkrc
.yarnrc.yml chore: Respect HTTP(S) proxy env variable for Yarn (#50352) 2026-03-18 21:11:34 -07:00
BUILD.gn build: resolve electron_version from git when building in a worktree (#51164) 2026-04-20 15:34:38 -07:00
CODE_OF_CONDUCT.md
CONTRIBUTING.md docs: added missing period for consistency and readability (#45333) 2025-02-13 10:55:43 +01:00
DEPS chore: bump node to v24.14.1 (40-x-y) (#50477) 2026-03-31 15:27:33 +02:00
filenames.auto.gni feat: msix auto-updater (#49587) 2026-02-02 14:22:04 +01:00
filenames.gni fix: scope extension tab-ID resolution to the calling BrowserContext (#50924) 2026-04-11 13:42:52 -07:00
filenames.hunspell.gni chore: bump chromium to 144.0.7512.1 (40-x-y) (#48786) 2025-11-07 17:40:25 -05:00
filenames.libcxx.gni chore: bump chromium to 144.0.7559.31 (40-x-y) (#48958) 2026-01-06 14:22:31 -05:00
filenames.libcxxabi.gni
LICENSE
package.json build: drop script/run-gn-format.py (#51281) 2026-04-23 14:52:12 +02:00
README.md docs: update macOS version support in README (#48871) 2025-11-10 09:51:26 -05:00
SECURITY.md docs: add security escalation policy (#48317) 2025-10-08 15:19:07 -07:00
tsconfig.default_app.json
tsconfig.electron.json
tsconfig.json build: drop @types/webpack-env in favor of webpack/module types (#47798) 2025-08-08 18:09:23 -07:00
tsconfig.script.json
tsconfig.spec.json
yarn.lock build: replace npx with lockfile-pinned binaries (#50717) 2026-04-06 16:07:36 -04:00

Electron Logo

GitHub Actions Build Status Electron Discord Invite

📝 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 coc@electronjs.org.

Installation

To install prebuilt Electron binaries, use npm. The preferred method is to install Electron as a development dependency in your app:

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 (Monterey and up): Electron provides 64-bit Intel and Apple Silicon / ARM binaries for macOS.
  • Windows (Windows 10 and up): Electron provides ia32 (x86), x64 (amd64), and arm64 binaries for Windows. Windows on ARM support was added in Electron 5.0.8. Support for Windows 7, 8 and 8.1 was removed in Electron 23, in line with Chromium's Windows deprecation policy.
  • Linux: The prebuilt binaries of Electron are built on Ubuntu 22.04. They have also been verified to work on:
    • Ubuntu 18.04 and newer
    • Fedora 32 and newer
    • Debian 10 and newer

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

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:

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

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 reporting bugs, getting help, finding third-party tools and sample apps, and more can be found on the Community page.

License

MIT

When using Electron logos, make sure to follow OpenJS Foundation Trademark Policy.