# Getting started

> Install Kanbus, put a board in a repository and hand it to your agents. Then pick how far to take it.

Canonical: https://kanb.us/docs/getting-started.html

## Install the CLI

Kanbus has two command lines that behave identically, because both are tested against the same behavior specifications and read and write the same files. A team can mix them.

- `kbs` is the Rust CLI. It is the fastest, and it comes with `kbsc`, the board server.
- `kanbus` is the Python CLI. It has the same commands, without the board server.

The examples on this site use `kbs`. Replace it with `kanbus` if you installed the Python CLI.

:::tabs
:::tab{label="Prebuilt binaries"}
Download `kbs` and `kbsc` from [GitHub Releases](https://github.com/AnthusAI/Kanbus/releases) and put them on your `PATH`. On Linux use the `x86_64-unknown-linux-gnu` archives; on an Intel Mac use `x86_64-apple-darwin`.

```bash
curl -L -o kbs.tar.gz https://github.com/AnthusAI/Kanbus/releases/latest/download/kbs-aarch64-apple-darwin.tar.gz
curl -L -o kbsc.tar.gz https://github.com/AnthusAI/Kanbus/releases/latest/download/kbsc-aarch64-apple-darwin.tar.gz
tar -xzf kbs.tar.gz && tar -xzf kbsc.tar.gz
sudo mv kbs kbsc /usr/local/bin/
kbs --version
```
:::
:::tab{label="Rust"}
Needs Rust 1.88 or later. On Linux, install `pkg-config` and the OpenSSL headers first.

```bash
cargo install kanbus
kbs --version
```
:::
:::tab{label="Python"}
Needs Python 3.11 or later.

```bash
pip install kanbus
kanbus --version
```
:::
:::

## Put a board in a repository

From the root of a git repository:

```bash
kbs init
```

This adds `.kanbus.yml` and a `project/` folder. Open `.kanbus.yml` and set a short `project_key` that is unique to this repository and a `console_port` of its own, then commit the setup.

```bash
kbs create "Launch the website" --type epic
kbs create "Write the landing page" --parent acme-4e3b31
kbs list
kbsc
```

`kbs create` prints each new issue's id, which is what `--parent` and the other commands take. `kbsc` serves the board on the port you chose.

## Hand it to your agents

```bash
kbs setup agents
```

This writes the Kanbus instructions into `AGENTS.md` and keeps agents from editing issue files directly. From then on an agent can read the board, claim a task, comment on what it did and close it, and `kbs commit` records the board changes in git.

## Pick how far to take it

:::card-grid{columns="3"}
:::card
*Available now*

**[Local files](/ways-to-run/local-files.html)**

The board you just made. The complete walkthrough, including what to commit and how to work with issues day to day.
:::
:::card
*Preview*

**[Files in the cloud](/ways-to-run/files-in-the-cloud.html)**

Push the board to a hosted repository and share it with a team, agent sandboxes and CI, with optional live updates.
:::
:::card
*Preview*

**[S3 and DynamoDB in the cloud](/ways-to-run/s3-and-dynamodb.html)**

Run the Kanbus API on AWS and embed the board in an application of your own.
:::
:::
