---
title: ProvisionOptions
description: What to provision. Every field is optional.
---

What to provision. Every field is optional.

## Properties

### binary?

```ts
optional binary?: string;
```

A binary the caller manages. Outranks `$MICROVM_AGENTD`; must be an aarch64 ELF.

***

### stateDir?

```ts
optional stateDir?: string;
```

The state directory the cache lives under. Defaults to the CLI's
(`$MICROVM_STATE_DIR`, else `~/.microvm/runs`), so every surface shares one cache.

***

### version?

```ts
optional version?: string;
```

The release version, with or without a leading `v`. Defaults to `coreVersion()`.

## Provenance

This page is generated from `bindings/microvms-js/index.d.ts` by TypeDoc 0.28.20 and typedoc-plugin-markdown 4.13.1, run from `site/scripts/gen-reference.mjs` on every `pnpm run sync`, so an edit made here is overwritten by the next run.

To change the page, change the doc comment in the binding's Rust source, then regenerate the declarations with `mise run dts`. `mise run dts:check` fails when the committed file no longer matches the source.