Reading the repo
Opening the box…
Reading the repo
Opening the box…
How to install on Windows
Saved setup from 1 min ago
Will it work on Windows?
Then run powershell -ExecutionPolicy Bypass -File .\setup.ps1. It stops at the first error and is safe to run again. Servers and tests aren't started; it lists them at the end. Read it first.
Needs Git: winget install Git.Git
git clone https://github.com/electron/extract-zip.git cd extract-zip
Node.js 22.23.4, Rust stable
winget install CoreyButler.NVMforWindows nvm install 22 nvm use 22 winget install Rustlang.Rustup
corepack enable yarn install cargo build
cargo run
yarn test cargo test
ESM only:
import extract from '@electron-internal/extract-zip';
await extract('archive.zip', { dir: '/absolute/output/path' });
dir (required, absolute) is the only option. Everything else is fixed: existing
files are overwritten, archive mode bits (masked to 0o777) and mtimes are
preserved, symlinks are created (skipped on Windows without symlink privilege),
and writes are parallelised across min(cpus, 8) workers. The original's
onEntry, defaultDirMode, and defaultFileMode are not supported, since no
consumer in the electron org uses them.
No reports for Windows yet.
GitManual AI Agent reads the 7 key files and writes a step-by-step guide for Windows. Once written, it's saved for everyone.