Installation¶
Requirements¶
- Go 1.25+
- git
Build from source¶
git clone https://github.com/ugiordan/architecture-analyzer.git
cd architecture-analyzer
go build -o arch-analyzer ./cmd/arch-analyzer/
The binary arch-analyzer is now ready to use.
Verify installation¶
Expected output:
Optional: Add to PATH¶
# Move to a directory in your PATH
sudo mv arch-analyzer /usr/local/bin/
# Or add the project directory to PATH
export PATH="$PATH:$(pwd)"
Tree-sitter dependency¶
The code property graph and security scanning features use tree-sitter for Go source parsing. Tree-sitter is included as a Go dependency and compiled automatically during go build. No additional installation needed.
GitHub Actions¶
For CI/CD usage, the analyzer builds in the workflow and runs against repos. See CI Integration for workflow examples.