Skip to main content
The momentic CLI is the entry point for web testing.

Install

npm install --save-dev momentic@latest

Usage

Every command runs via npx momentic <command>. Commands assume your project has a momentic.config.yaml at the root, run init to create one.

Commands

init

Scaffold a new Momentic project.

app

Open the local editor.

run

Run tests locally or upload results to the dashboard.

results

Generate reports from a previous run.

list

List tests matching a pattern.

queue

Queue a run on Momentic infrastructure.

check

Lint test files for schema errors.

import

Import tests from another tool.

apply

Apply bulk edits to tests.

quarantine

Quarantine or un-quarantine tests from the CLI.

ai

Run AI-assisted test authoring from the CLI.

mcp

Start the MCP server for coding agents.

install-browsers

Install or update headless browsers.

install-skills

Install editor skill files for Cursor, Claude Code, and more.

Environment variables

VariablePurpose
MOMENTIC_API_KEYAuth token. Required for any command that talks to the dashboard.
See Environment variables for the full list.