> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lilac-research.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Quickstart

> Install Lilac, build a small graph, ask it a question and sync it.

This guide outlines how to go from nothing to a synced graph. Run every command from your project folder, or pass `--project <dir>`.

**1. Install**

The installer brings its own Node and uv (a Python package manager) and needs no admin rights.

```bash theme={null}
curl -fsSL https://raw.githubusercontent.com/lukass16/lilac/main/scripts/install.sh | sh
```

While the repository is private, clone it with your GitHub login and run `sh scripts/install.sh` instead.

**2. Create a graph and add links**

```console theme={null}
$ lilac graph init reading
Created graph .lilac/graphs/reading
$ lilac graph add https://arxiv.org/abs/1706.03762 --tag models
attention-is-all-you-need
$ lilac graph add https://arxiv.org/abs/2005.14165 --tag models
language-models-are-few-shot-learners
```

`add` fetches the title, authors, date and abstract, and writes one Markdown row per link.

**3. Find citations and ask a question**

```console theme={null}
$ lilac graph link --all
2 rows scanned, 1 edges: openalex only 0, text only 0, both 1
$ lilac graph query "attention in transformers" --budget 500
```

`query` prints the best rows, each with its edges, until the 500-token budget is spent.

**4. Sign in and push**

```console theme={null}
$ lilac login
$ lilac graph push
pushed 2 rows to reading, now at rev 1
```

From any other machine, `lilac graph clone reading` brings the graph back.

> [!TIP]
>
> Only `clone`, `pull` and `push` use the network and need `lilac login`. Every other graph command works offline.

Next, learn what a [graph](https://docs.lilac-research.com/cli/concepts/graphs.md) holds.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.