> ## Documentation Index
> Fetch the complete documentation index at: https://thebettercontextapp-davis-npm-resource-on-web.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
```

The wizard creates `btca.config.jsonc` for local usage.

## 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.
