Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
F

forge

> 包管理
Open source

:electron: A complete tool for building and publishing Electron applications

7.1K stars0 likes3 views
WebsiteGitHub

About

:electron: A complete tool for building and publishing Electron applications

Electron Forge

[!IMPORTANT] We're currently beginning feature development for the next major version of Electron Forge, which is being done in the next branch. To try out experimental pre-releases, install the @alpha dist-tag of the @electron-forge/* packages via npm. For more details, see issue https://github.com/electron/forge/issues/4082.

A complete tool for building modern Electron applications.

Electron Forge unifies the existing (and well maintained) build tools for Electron development into a simple, easy to use package so that anyone can jump right in to Electron development.


Website | Goals | Docs and Usage | Configuration | Support | Contributing


Getting Started

Pre-requisites:

  • Node 16.4.0 or higher
  • Git

You can initialize an Electron Forge project with the create-electron-app CLI tool.

bash
npx create-electron-app@latest my-new-app

# then
cd my-new-app
npm start

For more information on creating a new project from a template, see our CLI documentation.

Docs and Usage

For Electron Forge documentation and usage you should check out our website: electronforge.io

Project Goals

  1. Starting with Electron should be as simple as a single command.
  2. Developers shouldn't have to worry about setting up build tooling, native module rebuilding, etc. Everything should "just work" for them out of the box.
  3. Everything from creating the project to packaging the project for release should be handled by one core dependency in a standard way while still offering users maximum choice and freedom.

With these goals in mind, under the hood this project uses, among others:

  • @electron/rebuild: Automatically recompiles native Node.js modules against the correct Electron version.
  • @electron/packager: Customizes and bundles your Electron app to get it ready for distribution.

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

Please report bugs or feature requests in our issue tracker. You can find help for debugging your Electron Forge on the Support page.

Issues· 247 open

View all issuesOpen on GitHub
  • #4277

    Forge fails to package on Node.js 24.16 and 26

    Updated Sep 21, 2026
  • #4082

    Forge 8

    Updated Sep 11, 2026
  • #3738

    Forge make combined with vite is creating an incomplete asar

    bugplugin/viteUpdated Sep 3, 2026
  • #3961

    Vite plugin: support `nodeIntegration: true` in the renderer process.

    enhancementplugin/viteUpdated Aug 31, 2026
  • #4350

    plugin-vite does not declare vite as a runtime dependency

    Updated Aug 29, 2026
  • #4349

    Electron Forge stuck on same 3 steps

    Updated Aug 25, 2026
  • #4240

    maker-flatpak: documented config requires patching unmaintained upstream deps; recommend doc disclosure or marking experimental

    Updated Aug 19, 2026
  • #4339

    Error: Cannot find module 'lodash'

    Updated Aug 2, 2026
  • #4336

    Warning about deprecated inlineDynamicImports when debugging in VS Code

    Updated Jul 31, 2026
  • #3598

    State Forge's position/rationale for Squirrel.Windows

    questionplatform/windowsmaker/squirrelUpdated Jul 22, 2026

> Tags

TypeScriptbuildelectronhacktoberfestjavascript

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 22, 2026
Category包管理
PricingOpen source

> Related tools

N
npm
Node.js 默认包管理器
P
pnpm
高效节省磁盘的 Node 包管理器
I
is-gif
Check if a Buffer/Uint8Array is a GIF image