---
title: "vlt ci"
description: "Documentation for the vlt client and the vlt registry."
url: "https://docs.vlt.io/client/commands/ci"
image: "https://docs.vlt.io/og/client/commands/ci"
lang: "en"
---

# vlt ci

Usage:

```bash title="Terminal"
$ vlt ci
```

Clean install for CI pipelines. Removes `node_modules` and installs dependencies exactly as specified in `vlt-lock.json`, failing if the lockfile is missing or out of date.

## Lifecycle scripts

Like [`vlt install`](https://docs.vlt.io/client/commands/install.md), `vlt ci` runs **no lifecycle scripts** of dependencies by default. To opt in:

```bash title="Terminal"
# Allow scripts for specific packages, this run only
$ vlt ci --allow-scripts="#esbuild"

# Save the query as allow-scripts in vlt.json: vlt ci runs it

$ vlt build "#esbuild"

# Or build after install: the stored query, else the default (no TTY: not saved)

$ vlt ci && vlt build
```

See [`vlt build`](https://docs.vlt.io/client/commands/build.md#allow-scripts) for `allow-scripts`.

## Workspaces

`vlt ci` reads workspaces from `vlt.json` only. If they are declared only in `package.json` or `pnpm-workspace.yaml`, it warns and ignores them: run `vlt install` and commit `vlt.json` (see [Workspaces](https://docs.vlt.io/client/workspaces.md#saving-workspaces-to-vltjson)).

## Options

| Flag                      | Description                                                                                                                 |
| ------------------------- | --------------------------------------------------------------------------------------------------------------------------- |
| `--allow-scripts=<query>` | Allow matching packages to run lifecycle scripts (never saved)                                                              |
| `--allow-skills=<query>`  | Link the agent skills of matching packages (never saved), see [`vlt skills`](https://docs.vlt.io/client/commands/skills.md) |
| `--skills-dir=<path>`     | Dirs to link agent skills into, see [`vlt skills`](https://docs.vlt.io/client/commands/skills.md)                           |
