# Getting started

Install Chonk, connect your GitHub account, and choose a license.

Chonk is a desktop app for working through GitHub pull requests faster. It is centered around a local-first inbox where you can see what needs your attention, reply to feedback, and review code.

Diffs, file navigation, search, and git blame all run locally. Actions such as commenting and merging sync with GitHub in the background, so you can keep working without waiting.

Chonk also gives you a place to review changes in a local repository and keep track of the code as your agent works on it. Leave comments on diffs, files, and commits to discuss changes with your agent and decide what’s next.

## Install Chonk

You can install Chonk from your terminal:

```sh tab="curl"
curl -fsSL https://chonk.gg/install.sh | sh
```

```sh tab="Homebrew"
brew install --cask dashbitco/tap/chonk
```

Or download the app for your platform:

- **macOS:** [Apple silicon](/download/macos/aarch64) · [Intel](/download/macos/x86_64)
- **Linux:** [ARM64](/download/linux/aarch64) · [x64](/download/linux/x86_64)

Chonk uses Git to fetch repositories. Git must be installed on your computer.

## Connect GitHub

When you open Chonk, it asks you to connect GitHub. Choose one of two methods:

- **GitHub CLI:** If you already use GitHub CLI, select your account from the list. To sign in or add the required access, run:

  ```sh
  gh auth login --hostname github.com --scopes repo,read:org
  ```

  Once you have signed in, return to Chonk and connect the account.

- **Personal access token:** Select **Use a personal access token** and follow the steps in the form. Chonk requires a **classic** token because fine-grained tokens do not allow fetching notifications.

Both methods let Chonk talk directly to GitHub. Chonk requires the `repo` scope for repositories, notifications, comments, and reviews, and the `read:org` scope to recognize team mentions and review requests. If the token expires or GitHub rejects it, Chonk will ask you to connect again.

> [!NOTE]
> Organizations can choose to restrict access to their repositories through personal access tokens. If your organization has enabled this restriction, try connecting with GitHub CLI instead.

## Choose a license

When you first launch Chonk, it asks you to choose a free or paid license. You can start a 30-day trial to try everything the paid license offers.

To activate a trial or paid license, you will be asked to sign in to chonk.gg. This sign-in is separate from the GitHub connection described above. To manage your license later, open the avatar menu and select **License**.
