This page gets you from zero to a useful result fast. Everyone starts the same way. Branch off at the end.Documentation Index
Fetch the complete documentation index at: https://docs.fallow.tools/llms.txt
Use this file to discover all available pages before exploring further.
1. Run Fallow
From your project root:- Dead code: unused files, exports, dependencies, cycles, boundaries, and more
- Duplication: repeated logic across files
- Health: complexity hotspots and refactor targets
2. Run the focused commands you’ll use most
3. Understand the output
Dead code
Use this when you want cleanup candidates.Duplication
Use this when repeated logic is spreading.mild mode catches AST-based duplicates. Add --mode semantic to also catch clones with renamed variables. See the duplication guide.
Health
Use this when you want to prioritize refactors.Fix preview
Use this before deleting anything automatically.--dry-run. See the auto-fix guide.
4. Pick your next step
Existing repo with backlog? Read Adopt Fallow in an existing repo for a structured cleanup path, then come back here to wire up CI or VS Code.
Use it in VS Code
Real-time diagnostics, Code Lens above exports, and one-click fixes.
Use it in CI
Turn Fallow into a PR and merge gate with SARIF or MR annotations.
Use it from agents
Add MCP for structured tool calling from Claude Code, Cursor, and more.
Add runtime evidence
Layer production execution data into
fallow health.Optional: create a config
Fallow works without a config file. When you want to customize, run:.fallow/ to your .gitignore.
Optional: runtime intelligence
Fallow’s static layer is free and open source. If you want to know what actually executed in production, add the runtime layer:Optional: workflow-specific setup
Agents
Any agent that can run a shell command can use Fallow. Use--format json for structured output:
Humans
Install the VS Code extension for real-time diagnostics, Code Lens above exports, and one-click fixes:CI
Use the GitHub Action, the GitLab template, ornpx fallow --ci on any CI:
- GitHub Action
- GitLab CI
- Other CI
Next steps
Analysis overview
What Fallow analyzes, at a glance.
Configuration
Customize entry points, rules, and ignore patterns.
Explanations
Mental models for how Fallow works.
CLI reference
Every command and flag.