From b88bbb9ca63695dbeaaa56ca3e8ed0a3bf48809e Mon Sep 17 00:00:00 2001 From: Erick Zhao Date: Mon, 27 Apr 2026 09:09:18 -0700 Subject: [PATCH] docs: mention pre-release installation (#51045) --- docs/tutorial/installation.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/docs/tutorial/installation.md b/docs/tutorial/installation.md index 821611a922..5f906e1c8e 100644 --- a/docs/tutorial/installation.md +++ b/docs/tutorial/installation.md @@ -24,6 +24,27 @@ npx electron . The above command will run the current working directory with Electron. Note that any dependencies in your app will not be installed. +## Installing prereleases + +Electron [distributes experimental releases of future major versions](./electron-timelines.md) +via npm as well. + +Nightly builds contain the latest changes from the `main` branch: + +```sh +npm install electron-nightly --save-dev +``` + +Alpha and beta builds contain changes slated for the next major version: + +```sh +npm install electron@alpha --save-dev +npm install electron@beta --save-dev +``` + +> [!TIP] +> For more information on available Electron releases, see the [Release Status dashboard](https://releases.electronjs.org). + ## Customization If you want to change the architecture that is downloaded (e.g., `x64` on an