Command-line tool
yamllint
brew/yamllint
Checked 25 Oct 2026, 21:11 UTC · Still published on npm
Linter for YAML files yaml lint linter cli
At a glance
- Type
- Command-line tool
- Install on
- Windows, macOS, Linux
- Last checked
- 25 Oct 2026, 21:11 UTC
Install it
Windows
pipx install yamllint npm install -g yaml-lint
macOS
brew install yamllint pipx install yamllint npm install -g yaml-lint
Linux
brew install yamllint pipx install yamllint npm install -g yaml-lint
Lint a file
yamllint path/to/file.yaml
Lint all YAML files in a directory recursively
yamllint path/to/directory
Lint a file with a specific config file
yamllint -c path/to/config.yaml path/to/file.yaml
Related command-line tools
- gitlab-ci-linter
Command-line tool to lint GitLab CI YAML files - ryl
ryl (Windows package; no description in the winget index) rust cli yaml linter lint yamllint - golangci-lint
Fast linters runner for Go go golang linter ci golangci-lint - spectral-cli
JSON/YAML linter and support OpenAPI v3.1/v3.0/v2.0, and AsyncAPI v2.x hacktoberfest json openapi json-schema linting… - kube-linter
Static analysis tool for Kubernetes YAML files and Helm charts static-analysis kubernetes hactoberfest helm-charts… - ls-lint
Extremely fast file and directory name linter - rumdl
Markdown Linter and Formatter written in Rust markdown documentation rust cli static-analysis formatter linter… - pylint
It's not just a linter that annoys you!
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents