# Install quelltest for npm

> Install quelltest 0.3.1 with npm, pnpm, yarn or npx on Node.js 20+. It makes no network calls; only the verify command executes your tests.

Canonical page: https://quelltest.com/docs/npm/installation

Install the `quelltest` package as a development dependency to get the `quell` command in a JavaScript or TypeScript project. It has one runtime dependency (the Babel parser), works offline once installed, and only the `verify` command executes anything of yours.

## What Node.js version do I need?

Node.js 20 or newer for quelltest 0.3.1, the version published today.

> **Next release:** the next version requires Node.js 22.18+ or 24.11+ (the parser dependency moved to `@babel/parser` 8). If your CI runs Node.js 20, stay on 0.3.1 until you move your Node version. These docs were exercised on Node.js 24.11.

## How do I install it?

```bash
npm install --save-dev quelltest
```

```bash
pnpm add -D quelltest
```

```bash
yarn add -D quelltest
```

To try it without adding it to a project, use `npx`:

```bash
npx quelltest --help
```

The package exposes one binary, `quell`. Inside a project that has it installed, run it with `npx quell ...`, a package script, or `node_modules/.bin/quell`.

## How do I check the install?

```bash
npx quell --version
```

```text
0.3.1
```

`npx quell --help` prints every command and option. The full list is in the [CLI reference](https://quelltest.com/docs/npm/cli.md).

## Which files and runners does it understand?

- Source files: `.js`, `.jsx`, `.mjs`, `.cjs`, `.ts`, `.tsx`. Test files, config files, `.d.ts`, `.min.js`, stories and the `node_modules`, `dist`, `build`, `coverage`, `out` and `scripts` directories are skipped by default.
- Test runners for `verify` and `generate`: `node` (`node:test`), `jest`, `vitest` and `mocha`. `generate` detects the runner from `package.json`; `verify` defaults to `node`, so pass `--runner jest` (or `vitest`, `mocha`) for those.

## Does it use the network?

No command makes a network request. Installing the package downloads it from the npm registry, and `npx -y quelltest mcp` downloads it the first time it runs; after that nothing leaves your machine. Details are in [privacy](https://quelltest.com/docs/npm/privacy.md).

## What does it execute?

| Command | Runs your code? |
| --- | --- |
| `find`, `score`, `generate` (without `--verify`), `gate`, `mocks`, `eval` | No. Static parsing and git reads. |
| `generate --verify` | Yes: runs each candidate test it wrote, on the original and on a mutant. |
| `verify` | Yes: runs your test file (or your `--command`) once on the original source and once per mutant, in a temporary copy of the project. |
| `mcp` | Only what the agent asks for: the `verify` tool runs tests as above. |

Do not run `verify` on code you would not run `npm test` on.

## Next steps

Continue to the [quickstart](https://quelltest.com/docs/npm/quickstart.md).
