Skip to content

Install quelltest for npm

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?

npm install --save-dev quelltest
pnpm add -D quelltest
yarn add -D quelltest

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

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?

npx quell --version
0.3.1

npx quell --help prints every command and option. The full list is in the CLI reference.

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.

What does it execute?

CommandRuns your code?
find, score, generate (without --verify), gate, mocks, evalNo. Static parsing and git reads.
generate --verifyYes: runs each candidate test it wrote, on the original and on a mutant.
verifyYes: runs your test file (or your --command) once on the original source and once per mutant, in a temporary copy of the project.
mcpOnly 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.