Install via npm
npx (recommended)
The simplest way to use vanya is with npx — no installation required:
npx @vanya-lang/vanya check my_test.vanyanpx @vanya-lang/vanya build my_test.vanya -o out/npx @vanya-lang/vanya fmt my_test.vanyaThis downloads and caches the binary automatically. Works everywhere without permission issues.
Project-local install
For project-local installs, add to your package.json:
npm install --save-dev @vanya-lang/vanyaThen run via npx vanya or add scripts to package.json:
{ "scripts": { "test:check": "vanya check tests/*.vanya", "test:build": "vanya build tests/*.vanya -o out/" }}Global install
npm install -g @vanya-lang/vanyaThe npm package bundles the native binary for your platform.
Verify
vanya --versionThe current version is 0.3.4.
Next steps
Create your first test.