# Install electron with npm

Build cross platform desktop apps with JavaScript, HTML, and CSS. Version 42.4.0 via npm; verified 2026-06-16.

## Install

```sh
sudo av install npm:electron
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g electron
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:electron
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/electron>
- **Version:** 42.4.0
- **Source summary:** Build cross platform desktop apps with JavaScript, HTML, and CSS
- **Homepage:** <https://github.com/electron/electron#readme>
- **Repository:** <https://github.com/electron/electron>
- **Upstream docs:** <https://github.com/electron/electron#readme>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/electron/-/electron-42.4.0.tgz>
- **Issue tracker:** <https://github.com/electron/electron/issues>
- **Published:** 2026-06-09T16:25:43.711Z
- **Last updated:** 2026-06-16T18:47:24.355Z
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- electron (cli)
- install-electron (cli)
- electron (alias)

## Dependencies

- @electron-internal/extract-zip
- @electron/get
- @types/node

## Install behavior

- Post-install hook: not defined
- Bottle: not available

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 42.4.0
- Package-manager updated: 2026-06-16
- Local data: ok
- Upstream repository: https://github.com/electron/electron
- info: No cached GitHub release or tag data was available.

## Security Notes

No matching local secret-handling manifest was found for electron. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** npm registry
- **Dist Tags:** 1 7 X: 1.7.16, 1 8 X: 1.8.8, 10 X Y: 10.4.7, 11 X Y: 11.5.0, 12 X Y: 12.2.3, 13 X Y: 13.6.9, 14 X Y: 14.2.9, 15 X Y: 15.5.7, 16 X Y: 16.2.8, 17 X Y: 17.4.11, 18 X Y: 18.3.15, 19 X Y: 19.1.9, 2 0 X: 2.0.18, 20 X Y: 20.3.12, 21 X Y: 21.4.4, 22 X Y: 22.3.27, 23 X Y: 23.3.13, 24 X Y: 24.8.8, 25 X Y: 25.9.8, 26 X Y: 26.6.10, 27 X Y: 27.3.11, 28 X Y: 28.3.3, 29 X Y: 29.4.6, 3 0 X: 3.0.16
- **Version Count:** 1,716
- **Maintainers:** electronhq, electron-nightly
- **Author:** Electron Community
- **Publisher:** electron-nightly
- **Engines:** Node: >= 22.12.0
- **Integrity:** sha512-OXXqh9LD9KxXPv2Fe25EfU9N9AvWTuV6V81sfhQaNvTAXCd9ONA+Q4OWvMe+CmYD6xIwjFxGGtG/ZphDYYC5OQ==
- **Shasum:** 921e266705600ba499f24d233db57f2cf935e516
- **Unpacked Size:** 1,130,569
- **File Count:** 0
- **Created At:** 2012-05-18T23:11:55.741Z
- **Latest Published At:** 2026-06-09T16:25:43.711Z
- **Modified At:** 2026-06-12T01:30:43.494Z

## Other Package-Manager Records

- Nix - electron: normalized package name match | nixpkgs package indexes: electron from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- apk - electron - 40.9.3-r0: normalized package name match | Alpine Linux edge package indexes: electron from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Electron cross-platform desktop toolkit | https://github.com/electron/electron
- apk - electron-dev - 40.9.3-r0: normalized package name match | Alpine Linux edge package indexes: electron-dev from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Electron cross-platform desktop toolkit (development files) | https://github.com/electron/electron
- apk - electron-lang - 40.9.3-r0: normalized package name match | Alpine Linux edge package indexes: electron-lang from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Electron cross-platform desktop toolkit (translations) | https://github.com/electron/electron
- pacman - electron - 1:42-1: normalized package name match | Arch Linux sync databases: electron from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Meta package providing the latest available stable Electron build | https://electronjs.org
- zypper - nodejs-electron - 37.10.2-3.9: normalized package name match | openSUSE Tumbleweed package metadata: nodejs-electron from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Build cross platform desktop apps with JavaScript, HTML, and CSS | https://github.com/electron/electron
- Chocolatey - electron: normalized package name match | Chocolatey community package catalog: electron from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','dotultimate'
- winget - OpenJS.Electron.33: normalized package name match | Windows Package Manager source index: OpenJS.Electron.33 from https://cdn.winget.microsoft.com/cache/source.msix
- winget - OpenJS.Electron.34: normalized package name match | Windows Package Manager source index: OpenJS.Electron.34 from https://cdn.winget.microsoft.com/cache/source.msix
- winget - OpenJS.Electron.35: normalized package name match | Windows Package Manager source index: OpenJS.Electron.35 from https://cdn.winget.microsoft.com/cache/source.msix
- winget - OpenJS.Electron.36: normalized package name match | Windows Package Manager source index: OpenJS.Electron.36 from https://cdn.winget.microsoft.com/cache/source.msix
- winget - OpenJS.Electron.37: normalized package name match | Windows Package Manager source index: OpenJS.Electron.37 from https://cdn.winget.microsoft.com/cache/source.msix
- winget - OpenJS.Electron.38: normalized package name match | Windows Package Manager source index: OpenJS.Electron.38 from https://cdn.winget.microsoft.com/cache/source.msix
- winget - OpenJS.Electron.39: normalized package name match | Windows Package Manager source index: OpenJS.Electron.39 from https://cdn.winget.microsoft.com/cache/source.msix
- winget - OpenJS.Electron.40: normalized package name match | Windows Package Manager source index: OpenJS.Electron.40 from https://cdn.winget.microsoft.com/cache/source.msix
- winget - OpenJS.Electron.41: normalized package name match | Windows Package Manager source index: OpenJS.Electron.41 from https://cdn.winget.microsoft.com/cache/source.msix


## Related links

- [Web development packages](https://www.automicvault.com/pkg/web-dev-tools/) - Matched curated package taxonomy and local package facts.
- [electron-chromedriver](https://www.automicvault.com/pkg/npm/electron-chromedriver/) - Package names and metadata indicate a similar tool family. Shared terms: cli, developer, developer-tools, electron, extract.
- [electron-builder](https://www.automicvault.com/pkg/npm/electron-builder/) - Package names and metadata indicate a similar tool family. Shared terms: build, cli, desktop, developer, developer-tools.
- [electron-installer-debian](https://www.automicvault.com/pkg/npm/electron-installer-debian/) - Package names and metadata indicate a similar tool family. Shared terms: cli, cross, developer, developer-tools, electron.

## Sources

- Nucleus package database
- package-page enrichment
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
