Electron Forge
GitHub
Discord
Search…
V6
Getting Started
Import Existing Project
Configuration
CLI
Built-in Templates
TypeScript
TypeScript + Webpack
Webpack
Forge Configuration
Plugins
Makers
Publishers
Guides
Electron Guides
Framework Integration
Developing with WSL
Advanced
Auto Update
Debugging
Extending Electron Forge
API Docs
Powered By
GitBook
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
1
cd my-app
2
yarn add --dev @electron-forge/cli
3
yarn electron-forge import
Copied!
1
cd
my-app
2
npm
install
--save-dev @electron-forge/cli
3
npx electron-forge
import
Copied!
1
cd my-app
2
npm install --save-dev @electron-forge/cli
3
npm exec
[email protected]
/cli -c "electron-forge import"
Copied!
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.
Previous
Getting Started
Next
Configuration
Last modified
10mo ago
Copy link
Edit on GitHub