Skip to content

Installation

Installation of the vally CLI is easy - just use NPM:

Terminal window
npm install -g @microsoft/vally-cli
Terminal window
vally --version

You should see the version number printed.

If you want to use Vally programmatically (custom graders, pipeline integration), install the core package:

Terminal window
npm install @microsoft/vally

Then import what you need from the relevant subpath:

import type { Grader, GraderInput, GraderResult } from "@microsoft/vally/graders";
import { createGraderRegistry } from "@microsoft/vally";

See the Writing Custom Graders guide for a full walkthrough.

Package Description
@microsoft/vally Core library — discovery, parsing, grading, scoring, reporting
@microsoft/vally-cli CLI — lint, eval, grade, and more
@microsoft/vally-server Analytics server — REST API, dashboards, agent integration