> ## Documentation Index
> Fetch the complete documentation index at: https://thebettercontextapp-davis-web-resource.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Quickstart

> Install btca, initialize a project, and run your first query

## 1) Install the CLI

btca requires Bun.

```bash theme={null}
bun add -g btca
```

## 2) Install the btca CLI skill (optional)

```bash theme={null}
btca skill
```

This runs the `skills.sh` installer (interactive) to install the skill.

## 3) Initialize a project

From your repo root:

```bash theme={null}
btca init
```

Choose **CLI** for local resources or **MCP** for cloud resources. The wizard writes
`btca.config.jsonc` or `btca.remote.config.jsonc`.

## 4) Add a resource

```bash theme={null}
btca add -n svelte-dev https://github.com/sveltejs/svelte.dev
```

## 5) Ask a question

```bash theme={null}
btca ask -r svelte-dev -q "How do I define remote functions?"
```

## Optional: run the local server

```bash theme={null}
btca serve
```

The server starts on port `8080` by default and exposes the local HTTP API.
