Skip to content

Quick start

View as Markdown

Check a file

Install the binary, then run the checker from your project directory.

Terminal window
oxyaml check .github/workflows

You can also pass a single file or run oxyaml check to check the current directory. For stable project settings, add .oxyaml.toml.

Connect your editor

Install the VS Code extension or configure your editor to launch the server with the command below. Open a YAML document to see diagnostics and completion.

Terminal window
oxyaml --stdio

For project-specific validation, associate a schema with the file.