Installation
Install the DollarLint CLI from npm, Go, or a release archive, then point it at any project with JSON, YAML, or TOML config files. It's a small investment that pays dividends.
Install with Homebrew
brew install 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