Import Existing Project

Import an existing Electron project to use Electron Forge.

Importing an existing Electron app into the Electron Forge workflow is very straightforward:

Yarn 1
NPM 6
NPM 7
Yarn 1
cd my-app
yarn add --dev @electron-forge/cli
yarn electron-forge import
NPM 6
cd my-app
npm install --save-dev @electron-forge/cli
npx electron-forge import
NPM 7
cd my-app
npm install --save-dev @electron-forge/cli
npm exec [email protected]/cli -c "electron-forge import"

If you're already using other Electron tooling (including migrating from Electron Forge v5), it will try to automatically migrate the settings as much as possible, but some of it may need to be migrated manually.

‚Äč