# Engine.install

Resolves and installs crypto implementations.

Slots resolve in parallel, then use [`Engine.set`](/api/Engine/set) merge semantics: omitted slots and primitives preserve existing overrides. If a slot rejects or validation fails, the installed engine is unchanged.

## Imports

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

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

## Examples

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

await Engine.install({
  Hash: Hash.engine()
})
```

## Definition

```ts
function install<value>(
  value: value & install.Exact<value>,
): Promise<install.ReturnType<value>>
```

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

## Parameters

### value

* **Type:** `value & install.Exact<value>`

Engine slots or promises for engine slots.

## Return Type

The resolved engine that was installed.

`Promise<install.ReturnType<value>>`
