> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Quickstart

> Install F[no] and take one small change to a pull request.

Run one target in a repository you can push to. Your result is a PR whose checks and review you can inspect.

## Before you begin

You need Git, curl, GitHub CLI (`gh`), and one coding harness from the [harness reference](/docs/reference/harnesses.md). A harness is the agent program that does the work. Your agent checks GitHub sign-in before opening a PR. If the check fails, it guides you through browser sign-in. Target opens the PR with your GitHub login and pushes the branch with your remote credentials. Sign in to your harness by starting it once and confirming you reach its prompt. Gemini CLI has no workflow prompt, so use another harness for this quickstart.

Use a small existing repository with a GitHub remote. Passing checks make step 5 cleaner. A repository without CI works too: step 5 says what to expect. Choose a task you understand and can review.

## 1. Install

```text theme={"theme":{"light":"min-light","dark":"min-dark"}}
Install F[no] by running the installer: curl -fsSL fno.sh | sh
Then open a new terminal, run fno --version, and report the version. Check GitHub CLI sign-in. If it is missing, start sign-in and ask me to finish in the browser. Then run gh auth setup-git, so Git can push with those credentials.
Do not install the fno package with pip, uv, brew, or cargo. Those routes skip the harness plugin wiring, so the workflow skills do not appear in your harness.
```

Your agent installs F\[no], checks GitHub sign-in, and configures Git to push with your GitHub credentials. You see the CLI version and any browser sign-in step that needs you.

### What the agent runs

Your agent installs F\[no] with this command:

```bash theme={"theme":{"light":"min-light","dark":"min-dark"}}
curl -fsSL fno.sh | sh
```

The installer provisions the CLI and wires supported harnesses it detects. It verifies the release checksum and can update your shell profile to put the binaries on PATH.

A package-manager install of the CLI alone skips that wiring. The request above pins the install to the installer for that reason.

> **Tip:** To read the installer before you run it, open [its source](https://github.com/fnodotdev/fno/blob/main/scripts/install/fno.sh). The command serves the same script.

In a fresh terminal, your agent checks the CLI:

```bash theme={"theme":{"light":"min-light","dark":"min-dark"}}
fno --version
```

The command prints `fno` followed by a version.

If GitHub CLI is not signed in, your agent starts the sign-in flow with:

```bash theme={"theme":{"light":"min-light","dark":"min-dark"}}
gh auth login
```

Finish any browser sign-in step that the command opens.

Sign-in alone does not configure Git. Your agent then runs:

```bash theme={"theme":{"light":"min-light","dark":"min-dark"}}
gh auth setup-git
```

The command sets GitHub CLI as Git's credential helper for github.com. If it works, the command prints nothing. If GitHub CLI is not signed in, the command fails.

Without this step, a target stops at push with `git HTTPS has no credentials (fetch exit 4)`.

If GitHub CLI is missing, follow [installation checks](/docs/install.md#check-your-installation).

## 2. Set up this machine

```text theme={"theme":{"light":"min-light","dark":"min-dark"}}
Preview the F[no] setup actions with a dry run, show me the list, then apply them with the recommended defaults. Keep automatic merging off.
```

The dry run lists each proposed action. You see what setup changes before it runs.

### What the agent runs

Your agent previews the setup actions with this command:

```bash theme={"theme":{"light":"min-light","dark":"min-dark"}}
fno config setup run --dry-run --json
```

It applies them with:

```bash theme={"theme":{"light":"min-light","dark":"min-dark"}}
fno config setup run --yes
```

Setup wires the fno plugin into every supported agent CLI it finds on PATH. It has no option to wire one CLI only. The extra wiring does no harm: the quickstart uses the harness you sit in.

The no-prompt path takes the recommended defaults and never turns automatic merging on. That is the same merging posture as the `balanced` preset, so the practice PR in step 5 stays open until you merge it.

Prefer answering prompts yourself? Open a terminal and run `fno do wizard` there. The wizard needs a terminal: it reads its questions from it. It opens on the `balanced` preset, probes each harness you keep, and applies your choices. [Install and verify](/docs/install.md#run-the-wizard) compares the presets.

## 3. Open your project

```text theme={"theme":{"light":"min-light","dark":"min-dark"}}
Tell me which F[no] target workflow prompt this harness supports. Do not run it yet.
```

Your agent checks which target prompt your harness supports. You see the matching form before a task starts.

### What the agent runs

Open your harness in the repository you chose. Start a new session, so your harness loads the F\[no] commands.

The request above asks your agent to find the right target prompt. The table below lets you check its answer:

| Harness | Target prompt |
| - | - |
| Antigravity CLI | `/target` |
| Claude Code | `/fno:target` |
| Codex CLI | `$fno:target` |
| pi | `/skill:target` |
| All other harnesses | `/fno:target` |

If the agent cannot find the command, ask it to read [plugin troubleshooting](/docs/troubleshooting.md#the-harness-cannot-find-fnotarget) and confirm that the command appears in the picker. Wait to start the task until step 4.

## 4. Give the agent one small target

```text theme={"theme":{"light":"min-light","dark":"min-dark"}}
Use F[no] target to add a factual README overview, review the change, and open a PR. Leave merging off.
```

Target plans, implements, reviews, and opens a PR. You see the worktree, changed files, checks, and PR link.

### What the agent runs

> **Warning:** A target can edit files, run commands, use paid model credentials, and push a branch. Read the task first.

The block above is your plain-language request. The command below shows its harness form for your agent to use, not for you to type.

```text theme={"theme":{"light":"min-light","dark":"min-dark"}}
/fno:target "Add a short repository overview to README.md, using only facts from this repository."
```

Target creates an isolated worktree, plans the change, implements it, and reviews the diff. It pushes a branch and opens a PR.

Read the session as the agent works. Look for the checkout it selected, the files it changed, and the checks it ran. If it reports a wait, read the named cause. Waiting for CI is different from waiting for input or provider capacity.

The agent reports a PR URL. Its wording and generated README text vary.

## 5. Read the result

```text theme={"theme":{"light":"min-light","dark":"min-dark"}}
Inspect the pull request for this task. Report its diff, current checks, and review status.
```

Your agent reads the PR diff and checks its status. You see review findings and check results.

### What the agent runs

The agent opens the PR URL, reads its diff and review findings, then checks the status:

```bash theme={"theme":{"light":"min-light","dark":"min-dark"}}
gh pr checks <PR_URL>
```

The command lists each check as pass, fail or pending. A PR URL alone proves neither green checks nor completed review.

If your repository has no CI configured, the command reports that no checks exist. Nothing fails. The review on the PR is then the evidence you read, and [How completion works](/docs/concepts/completion.md) separates a ready PR from a merged one.

You have taken one small task through implementation to a PR. It stays open until you merge it, because setup left automatic merging off. [Automatic merging](/docs/reference/configuration.md#automatic-merging) explains the setting.

## Clean up

```text theme={"theme":{"light":"min-light","dark":"min-dark"}}
Close the unwanted practice PR from this quickstart through GitHub. Keep branches and worktrees that contain changes I need. Never remove an active worktree.
```

Your agent closes the PR and checks whether the worktree is still in use.

### What the agent runs

Your agent closes the unwanted practice PR through GitHub. Keep any branch or worktree that contains changes you need.

Do not delete the worktree while an agent is still using it. Leave it in place after this tutorial.

## Next steps

* [Which command for which task](/docs/guides/which-command.md): find the command for the task in front of you.
* [Work a backlog with agents](/docs/guides/backlog-and-leads.md): hand the next tasks to agents and leads.
* [Run a fleet](/docs/guides/run-a-fleet.md): give a worker a separate task.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.