Before you begin
VectorLint requires Node.js 18 or later. Node.js 22 LTS is recommended. If you need to install or update Node.js, use nvm (recommended) or download directly from nodejs.org.Option 1: Global install
Install VectorLint globally from npm:vectorlint command available from any directory on your machine. Use this option if you plan to run VectorLint regularly across multiple projects.
For a full reference of commands and flags, see CLI reference.
Option 2: Run with npx
Run VectorLint without installing it:npx downloads and runs the latest version of VectorLint on demand. Use this option for one-off checks or to try VectorLint before committing to a global install.
If you use npx regularly, pin a specific version to avoid unexpected behavior when VectorLint releases updates:
Next steps
- Quickstart — configure your LLM provider and run your first check end to end
- Configuring LLM providers — set up your API key for OpenAI, Anthropic, Gemini, Azure OpenAI, or Amazon Bedrock
- Using VECTORLINT.md — start evaluating content without writing any rule pack files