# Installation and Quickstart

_How to install and set up Treq on your machine._

To install Treq, download the latest build for your platform from GitHub Releases. Builds exist for macOS on Apple silicon and Intel, Windows and Linux. Then click **Open repository…** and select any Git repository. You do not need to install Jujutsu.

| Platform | Release target |
|---|---|
| macOS on Apple silicon | `aarch64-apple-darwin` |
| macOS on Intel | `x86_64-apple-darwin` |
| Windows | `x86_64-pc-windows-msvc` |
| Linux | `x86_64-unknown-linux-gnu` |

[View Releases](https://github.com/tznc/treq/releases/latest)

Treq works with ordinary Git repositories. You do not need to install or learn [Jujutsu](https://docs.jj-vcs.dev/latest/install-and-setup/) to use it. Treq initializes colocated Jujutsu metadata itself when you open a repo, and it runs Git and Jujutsu operations [under the hood](/docs/under-the-hood).

:::tip[Optional: install `jj` only for power-user debugging]

Installing [Jujutsu (`jj`)](https://docs.jj-vcs.dev/latest/install-and-setup/) and adding it to your `PATH` is optional. It can help when you intentionally inspect repository state from a shell. For normal Treq use, stay in the app. Dropping to the `jj` CLI is not recommended as a day-to-day workflow.

:::

## Initial Setup

Click **Open repository…** on the start screen and select the folder that contains `.git`. [Using Treq with a Git repository](/docs/tutorials/using-treq-with-git-repo) covers what Treq writes to that folder.

## Creating Your First Workspace

A [workspace](/docs/concepts/workspaces) is where each piece of parallel work lives.

1. Click **New** in the sidebar, or press `Cmd+N` on macOS or `Ctrl+N` on Windows and Linux. The **New Workspaces** dialog opens.
2. Type one line per workspace. A line can be a title for new work, an existing branch name, or a GitHub pull request link.
3. Click **Create 1 Workspace**. The button counts the lines, so it reads **Create 3 Workspaces** for three lines.

## Starting an Agent

1. In the **Code** tab, describe the task in the prompt input.
2. Click **Run** to start the agent. For Claude the button reads **Edit**.
3. Watch the agent terminal open and start running.
4. Open the **Changes** tab to view the agent's changes.

## Commit, Push, Merge

1. Commit changes in the **Changes** tab.
2. Click **Push** in the workspace header to push the branch to the remote.
3. Click **Merge...** to merge the workspace into its target branch. When the workspace has an open pull request, choose **Locally** or **On GitHub** in the merge dialog.
