WebviewJS wraps the battle-tested Rust crates tao and wry via NAPI-RS to deliver a native, cross-platform webview experience directly inside Node.js, Deno, and Bun. Because the native addon ships as a pre-built binary for every supported target, most installs require nothing more than a single package-manager command — though Linux users need a couple of system libraries first.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/webviewjs/webview/llms.txt
Use this file to discover all available pages before exploring further.
System Requirements
Each platform provides the web rendering engine differently. Review the requirement for your OS before installing.| Platform | Requirement |
|---|---|
| Windows | WebView2 runtime — ships with Windows 11 and Microsoft Edge; auto-installed on Windows 10 via Windows Update |
| macOS | macOS 10.15 Catalina or later — WebKit is built in, no extra install needed |
| Linux | libwebkit2gtk-4.1 and libxdo — must be installed manually (see below) |
Node.js >= 24 is required. Check your version with
node --version and upgrade via nodejs.org or your preferred version manager if needed.Linux System Dependencies
Linux uses WebKitGTK as the rendering backend andlibxdo for window automation. Install the appropriate packages for your distribution before running npm install.
- Debian / Ubuntu
- Fedora
- Arch Linux
Installing the Package
Once system requirements are satisfied, install@webviewjs/webview with your preferred package manager:
Supported Platform & Architecture Matrix
The following targets ship with pre-built binaries on npm. Experimental and no-CI targets are functional but may receive less frequent updates.| Target Triple | OS | Arch | Status |
|---|---|---|---|
x86_64-pc-windows-msvc | Windows | x64 | ✅ Supported |
i686-pc-windows-msvc | Windows | x86 | ✅ Supported |
aarch64-pc-windows-msvc | Windows | arm64 | ✅ Supported |
x86_64-apple-darwin | macOS | x64 | ✅ Supported |
aarch64-apple-darwin | macOS | arm64 (M-series) | ✅ Supported |
x86_64-unknown-linux-gnu | Linux | x64 | ✅ Supported |
aarch64-unknown-linux-gnu | Linux | arm64 | ✅ Supported |
armv7-unknown-linux-gnueabihf | Linux | armv7 | ✅ Supported |
i686-unknown-linux-gnu | Linux | x86 | ⚠️ No CI |
aarch64-linux-android | Android | arm64 | ⚠️ Experimental |
armv7-linux-androideabi | Android | armv7 | ⚠️ Experimental |
x86_64-unknown-freebsd | FreeBSD | x64 | ⚠️ No CI |
Targets marked No CI are not continuously tested but are expected to work. Targets marked Experimental are under active development and may have missing features.