get started
Quickstart
Get up and running with brin in under a minute
Install
Bash
npm install -g brinOr via shell script:
Bash
curl -fsSL https://brin.sh/install.sh | shSee Installation for other methods.
Initialize your project
Bash
brin initBash
๐ง initializing brin...
Enable AGENTS.md docs index for AI coding agents? (Y/n) Y
โ created brin.json
โ created .brin-docs/
โ updated AGENTS.md with brin docs index
โ added package installation instructions to AGENTS.md
โ brin initialized successfully!This creates brin.json, sets up a docs index in .brin-docs/, and adds package installation instructions to AGENTS.md so AI agents automatically use brin add instead of npm install.
Add your first package
Bash
brin add expressBash
๐ checking express@4.21.0...
โ
not sus
โโ publisher: expressjs (verified)
โโ downloads: 32M/week
โโ cves: 0
โโ install scripts: none
๐ฆ installed
๐ updated AGENTS.md docs indexNext steps
- Setup for Agents โ hooks for hard enforcement
- Commands โ full CLI reference
- How It Works โ architecture and scanning pipeline
On this page