# Host a finished world without the browser (the iamar world host)

Docs: 0b1d2d93415421fb; API reference: 0.11. Installed kit/browser compatibility takes precedence.
Canonical: https://iamar.ai/docs/releases/0b1d2d93415421fb/tasks/host-world.md
Source: https://iamar.ai/docs/releases/0b1d2d93415421fb/sources/pipelines.json; sha256: 8c23f70158b513f5b084046e36f52d0dfc0758b99aaa42bfa587815759d1caf1.
Status: documented.

## Rules

- Two steps are the user's: their yes to installing and hosting, and approving the sign-in code. Never ask for or type a password.
- While a world is still being built, host from the browser (publish-world).

## Inputs

- The user's registered .3d name and iamar account
- Every world of the domain exported for hosting into ONE folder
- The user's yes to installing the world host and to hosting

## Run

```sh
iamar-world export-host <world> --key <name-or-path.key> --to <folder> --json
minisign -Vm iamar-world-host-latest-linux.tar.gz -p minisign.pub   # or -latest-macos.tar.gz / -latest-windows.zip, from https://downloads.vessences.com/world-host/
./setup.sh   # Windows: setup.cmd; iamar-world-host.cmd below
./iamar-world-host install --domain <name>.3d --owner <account> --json
./iamar-world-host login --json   # show verifyUrl and code; the user approves
./iamar-world-host add <folder> --json && ./iamar-world-host check --json
./iamar-world-host start --detach --json && ./iamar-world-host status --json
```

## Outputs

- Every world of the domain served by one small program (no browser, no Godot): iamar://<account>/<world id> and the .3d name

## Success checks

- minisign exits 0 and its trusted comment's SHA-256 matches latest.json
- check exits 0; status shows every world serving with hub.state running

## Effects

- Installs the world host (and Node 24 inside its folder when none is installed) where the user agreed, signs in as their account and hosts their worlds
- The sign-in lasts at most 60 days after the user approved it: before then run login again (the user approves the new code), then stop and start --detach; newer world host versions show session.ends_at and session.renew_soon in status --json

## Fetch only the next needed step

- [Hosting with the iamar world host (no browser)](https://iamar.ai/docs/releases/0b1d2d93415421fb/reference/hosting/hosting-with-the-iamar-world-host-no-browser.md)
- [Publishing: host it yourself](https://iamar.ai/docs/releases/0b1d2d93415421fb/reference/kit/publishing-host-it-yourself.md)
