Guide

Installation

Install DollarLint with the agent-directed flow, Homebrew, npm, Go, or a release archive, then point it at any project with JSON-family, YAML, or TOML config files. It's a small investment that pays dividends.

Install with an agent

Give this URL to the coding agent of your choice. The page instructs an agent how to choose an installer, add a config, validate files, tune settings, and report back results.

https://dollarlint.dev/install/agent/

Install with Homebrew

brew install --cask dollarlint/tap/dollarlint

Homebrew installs the latest release binary and keeps updates in the same workflow as the rest of your command-line tools.

Install with npm

npm install -g dollarlint

The npm package uses a postinstall script to fetch the matching release binary for your platform. npm lifecycle scripts need to be allowed; installs run with --ignore-scripts or ignore-scripts=true will not install the dollarlint binary.

If your environment blocks post-install scripts, use Homebrew, Go, or a release archive instead.

Release binaries

Download the archive for your platform from GitHub Releases when you want a standalone binary without installing through npm or building from source.

Install from source with Go

go install github.com/dollarlint/dollarlint/cmd/dollarlint@latest

This builds and installs the dollarlint command from the latest module version available to your Go toolchain.

Verify the install

dollarlint version
dollarlint --help

Run in CI

To validate a repository in GitHub Actions, use the GitHub Action guide. The action installs a verified release archive and can upload SARIF results to GitHub code scanning.