/Knowledge/sources/honojs__hono/llms-full/webassembly-w-wasi-run--a088bc191003.md
WebAssembly (w/ WASI): Run - hono-docs
WebAssembly (w/ WASI): Run Source evidence: /Sources/honojs hono/provenance.md Canonical citation: https://hono.dev/llms full.txt 5 run Summary To run your H...
WebAssembly (w/ WASI): Run
Source evidence: /Sources/honojs__hono/provenance.md Canonical citation: https://hono.dev/llms-full.txt#5-run
Summary
To run your Hono WebAssembly HTTP server, you can use any WASI-enabled WebAssembly runtime: - wasmtime - jco (runs in Node.js) In this guide, we'll use jco serve since it's already installed. ::: warning jco serve is...
Content
To run your Hono WebAssembly HTTP server, you can use any WASI-enabled WebAssembly runtime:
wasmtimejco(runs in Node.js)
In this guide, we'll use jco serve since it's already installed.
::: warning
jco serve is meant for development, and is not recommended for production use.
:::
::: code-group
npx jco serve dist/component.wasm
yarn jco serve dist/component.wasm
pnpm exec jco serve dist/component.wasm
bun run jco serve dist/component.wasm
:::
You should see output like the following:
$ npx jco serve dist/component.wasm
Server listening @ localhost:8000...
Sending a request to localhost:8000/hello will produce the JSON output you've specified in your Hono application.
You should see output like the following:
Metadata
{
"chunk_index": 0,
"citation": "https://hono.dev/llms-full.txt#5-run",
"coverage_role": "overview",
"qualified_title": "Hono / llms-full / WebAssembly (w/ WASI) > 5. Run (1)",
"retrieved_at": "2026-07-02T05:51:01Z",
"section_index": 449,
"source_id": "/honojs/hono",
"source_type": "llms_full",
"target_label": "llms-full",
"title": "WebAssembly (w/ WASI): Run",
"upstream_url": "https://hono.dev/llms-full.txt",
"version": "2026"
}