{"schemaVersion":"opencli.cli.v1","slug":"vitest","name":"Vitest","shortName":"vitest","binaryName":"vitest","maker":{"slug":"vitest","name":"Vitest","type":"small-team","url":"https://vitest.dev","officialPlatformMaker":false,"featuredBuilder":false},"category":"Productivity","description":"Testing, watch mode, and js unit tests from the terminal. Built by Vitest.","tagline":"Testing, watch mode, and js unit tests from the terminal.","install":{"packageManager":"npm","command":"npm i -g vitest","packageName":null,"npmPackage":"vitest","brewFormula":null,"brewCask":null,"crateName":null,"pypiPackage":null,"goPackage":null,"dockerImage":null},"verify":{"command":"vitest --version","signal":"vitest responds locally and is ready for the first real command."},"quickStart":"vitest run","exampleWorkflow":["vitest run"],"agent":{"readiness":{"label":"Usable with guardrails","score":50,"reasons":["Supports non-interactive/scripted use.","Works well in CI or repeatable automation."],"guardrails":["Prefer small commands and ask the agent to summarize plain text output."]},"packUrl":"https://opencli.co/cli/vitest/agent.md","packMarkdown":"# OpenCLI Agent Pack: Vitest\n\nUse this when an AI agent needs to work with `vitest`.\n\n## What this CLI is for\nTesting, watch mode, and js unit tests from the terminal. Built by Vitest.\n\nBest for: testing, watch mode, and js unit tests from the terminal.\n\n## Agent readiness\nUsable with guardrails (50/100)\n- Supports non-interactive/scripted use.\n- Works well in CI or repeatable automation.\n\n## Install\n```sh\nnpm i -g vitest\n```\n\n## Verify before real work\n```sh\nvitest --version\n```\nExpected signal: vitest responds locally and is ready for the first real command.\n\n## Safe starting commands\n```sh\nvitest --version\n```\n\n```sh\nvitest run\n```\n\n## Guardrails for agents\n- Prefer small commands and ask the agent to summarize plain text output.\n\n## Suggested agent instruction\nYou may use Vitest (`vitest`) for testing, watch mode, and js unit tests from the terminal.. First install it if missing, then run the verify command. Start with read-only or inspection commands. Summarize what you found before changing anything. Ask for confirmation before commands that mutate remote state, spend money, deploy, delete data, merge code, or expose secrets.\n\nSource: OpenCLI\n"},"fit":{"bestFor":"testing, watch mode, and js unit tests from the terminal.","useThisIf":"You need productivity workflows in both local dev and CI.","skipIf":"You don't work with productivity workflows.","whatHappensNext":"Run `vitest run` and see what comes back."},"capabilities":{"agentFriendly":true,"supportsJsonOutput":false,"supportsNonInteractive":true,"supportsDryRun":false,"requiresAuth":false,"requiresNetwork":false,"ciFriendly":true,"localFirst":false,"destructivePotential":"low"},"taxonomy":{"useCases":["Testing","Watch mode","JS unit tests"],"aliases":["test runner"],"keywords":["test runner vite"],"tags":["builder","agent-friendly","ci-friendly"]},"links":{"website":"https://vitest.dev","github":"https://github.com/vitest-dev/vitest","docs":"https://vitest.dev/guide/cli","opencli":"https://opencli.co/cli/vitest","markdown":"https://opencli.co/cli/vitest/agent.md","json":"https://opencli.co/cli/vitest.json"},"metrics":{"githubStars":16662,"latestRelease":"2026-06-08T05:54:48Z","license":"MIT","metricLabel":"npm weekly downloads","metricValue":64617933,"metricSource":"npm","metricAsOf":"2026-06-08T11:00:55.098Z"}}