Installation
Requirements
- Python 3.10+
Strictacode analyzes code written in:
- Python — no additional runtime required
- Go — requires go binary in PATH
- JavaScript — requires node and npm in PATH, plus globally installed @babel/parser and @babel/traverse:
bash
npm install -g @babel/parser @babel/traverse
- Kotlin — no additional runtime required (uses tree-sitter)
- Swift — no additional runtime required (uses tree-sitter)
Install from PyPI
pip install strictacode
or with uv:
uv pip install strictacode
or as a project dependency:
uv add strictacode
Verify Installation
strictacode analyze . --short
If everything is installed correctly, you'll see a report with your project's health metrics.
AI Agent Integration
Install strictacode as a skill in your AI agent:
strictacode install agent-skill --agent <name>
Supported agents: claude, cursor, codex, gemini, antigravity
For full command options see the CLI Reference.
CI/CD Integration
Strictacode provides ready-to-use integrations for GitHub Actions and GitLab CI. Both support optional quality gates via environment variables.
Next Steps
See the Getting Started guide for a walkthrough of your first analysis.