# Getting Started
> The shortest path from a checkout to a graph an agent can query.
[Source](https://open.nxtsoft.io/docs/cgraph/getting-started)

This is the fast path. It assumes the [prerequisites](/docs/cgraph/installation)
are in place; for the full build and troubleshooting, see Installation.

## Build the tools

**clone and build**

```bash
git clone https://github.com/taylor009/CGraph.git
cd CGraph
export VCPKG_ROOT="/path/to/your/vcpkg"
cmake --preset default
cmake --build --preset default
```

## Build a graph

Point the CLI at any source tree:

**extract**

```bash
build/default/src/cli/cgraph --root . --out cgraph-out
```

This writes the graph and its exports (JSON, HTML, SVG, Obsidian, Cypher, and a
call-flow view) into `cgraph-out`.

## Next

Register the graph with a coding agent in the [Quick Start](/docs/cgraph/quick-start),
or read [Installation](/docs/cgraph/installation) if the build didn't succeed.
