Skip to content

Quick Start

1. Analyze a repository

archmap analyze /path/to/project --format both --include-cytoscape

Typical output:

[ok] 42 files analyzed
[ok] 130 dependencies detected
[ok] 3 circular dependencies detected
Top complexity (imports):
  - src/archmap/cli/main.py: 14 imports (87% score)
Top risk files:
  - src/core/__init__.py: score 42 (god_module, circular_dependency)

2. Start the interactive UI

archmap serve /path/to/project --port 3000

Optional:

archmap serve . --host 127.0.0.1 --port 8080 --no-open

3. Use quality gates in CI

archmap analyze . --fail-on-risks --top 10

Exit code 2 means quality gate failed.

4. Compare two git refs

archmap diff HEAD~5 HEAD

5. Run sample project

archmap serve examples/sample-project