Install
What you need to run Warm64, how to install it, and the WebAssembly cores that come with it.
Warm64 comes as one npm package, @warm-virtual/warm64. It holds the System-on-a-Chip and Wision as compiled WebAssembly cores, the JavaScript API, and the warm-system-aarch64 and warm-img commands. The package on npm is the free build, under the Conditional Free License, and it shows a notice for three seconds each time it starts. Licensees get the same package without the notice.
Note Warm64 isn't released yet. It goes on npm with the first release. Until then, contact us for early access.
Requirements
Node 24 or later, or a current browser.
Getting it
npm install @warm-virtual/warm64That's the free build. It includes its license, the Conditional Free License, its THIRD-PARTY-NOTICES, and the cores below. A commercial license exempts you from some of the license's conditions. If you have one, install the build we send you the same way, by passing the archive's path to npm install. It's the same package without the start-up notice.
To use the commands from anywhere, install it globally:
npm install -g @warm-virtual/warm64
warm-system-aarch64 -version
# WARM emulator version 1.0.0 (QEMU 11.1.1)The cores
The package has one WebAssembly core for each kind of machine, in wasm/. Warm64 picks the right one from the machine's command line, so you don't choose it yourself; see Cores and memory.
| File | Used for |
|---|---|
warm64.wasm | One core, up to about 1.5 GiB of RAM |
warm64-memory64.wasm | One core, more RAM than that |
warm64-threads.wasm | More than one core, up to about 1.5 GiB of RAM in all |
warm64-memory64-threads.wasm | More than one core, more RAM than that |
warm64-gpu.wasm | A virtio GPU without shared memory |
warm64-gpu-threads.wasm | A virtio GPU, in Node or a cross-origin-isolated page |
Using it from a project
// the machine, both platforms
import { WARM } from "@warm-virtual/warm64";
// Node's host
import { nodeWARMHost } from "@warm-virtual/warm64/warm-node";In a browser, serve the package's dist/ and wasm/ directories next to each other. See Embedding in a web page.