# Engine.install

Compiles and installs every WASM implementation this entrypoint provides.

Slot compilation starts concurrently. Nothing is installed until every slot resolves successfully.

Call this once, during startup, before any crypto call. Ox resolves the engine at call time, so values computed beforehand used whatever was installed then.

## Imports

:::code-group
```ts [Named]
import { Engine } from 'ox/wasm'
```

```ts [Entrypoint]
import * as Engine from 'ox/wasm/Engine'
```
:::

## Examples

```ts twoslash
// @noErrors
import { Engine, Hash } from 'ox/wasm'

await Engine.install()

Hash.sha256('0xdeadbeef')
```

## Definition

```ts
function install(): Promise<install.ReturnType>
```

**Source:** [src/wasm/Engine.ts](https://github.com/wevm/ox/blob/main/src/wasm/Engine.ts#L53)

## Return Type

The engine that was installed.

`Promise<install.ReturnType>`
