Quickstart (5 Minutes)
Let's index a project and run your first analysis.
1. Index Code
Pick a small folder to start with (e.g., this project's own directory).
Tip: Ignore Files First
You can create a .cgcignore file (like .gitignore) to skip folders like node_modules or venv.
📄 Configure .cgcignore
cgc index .
2. Lists Repos
Confirm it was added to the graph.
cgc list
3. Run Your First Analysis
Let's ask the graph a question. "Find all callers of a function".
Replace my_function with a real function name from your code.
cgc analyze callers my_function
4. (Optional) Visualize
If you have a browser available, seeing is believing.
cgc visualize
What's Next?
You have two paths forward:
- I want to code with AI:
- I want to use the Terminal: