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

# Finish setup after you install F[no]

> Answer the setup wizard at the end of a terminal install, or on your first bare fno, and know when setup is done.

> Answer the setup wizard at the end of a terminal install. Finish a skipped setup with bare `fno`. Add F\[no]'s allow rules to your harness.

The setup wizard is the screen that asks how F\[no] runs on your machine: which preset, which harnesses, which background services, which repos. It writes your answers to the F\[no] config file. A person answers it once per machine. For the install itself, see [Install and verify](/docs/install.md).

Two terms: a harness is the coding agent CLI that F\[no] works inside, such as Claude Code or Codex CLI. The mux is F\[no]'s terminal view of your agent sessions. Bare `fno` opens it.

After this page, you have a finished setup, and you know how to start it again.

## Before you begin

* F\[no] installed with `curl -fsSL fno.sh | sh`, or with `brew install fnodotdev/fno/fno` on macOS. [Install and verify](/docs/install.md) covers the installer.
* A real terminal. The wizard reads its answers from the keyboard. An agent session has no keyboard prompt, so an agent uses `fno config setup run` instead. See [Set up from an agent](#set-up-from-an-agent).

## Answer the wizard at the end of the install

When you run the installer in a terminal, the wizard opens after the binaries are in place. The installer prints this line first:

```text theme={"theme":{"light":"min-light","dark":"min-dark"}}
opening the setup wizard; Ctrl-C skips it and keeps the install.
```

The first screen asks for a preset:

![A terminal. The F\[no\] setup wizard lists the balanced preset's choices and asks which posture to follow: aggressive, balanced or user-reviewed.](https://mintcdn.com/fno/ctOXcjpwNiWR9Vp2/images/setup-wizard-first-run.png?fit=max\&auto=format\&n=ctOXcjpwNiWR9Vp2\&q=85\&s=ae9ae7e89c87482b671042444353d082)

1. Pick a preset with the arrow keys, then press Enter. `balanced` is the safe middle: each harness keeps its model, and automatic merging stays off. The three presets are in [Install and verify](/docs/install.md#run-the-wizard).
2. Answer each question. Enter takes the default. `b` or the left arrow goes back one screen.
3. Read the list of changes on the last screen. Type `y` to write them. The wizard writes no config before this step. The installer wired the plugin into each harness it found before the wizard opened.

When the write finishes, F\[no] records the setup as done. The wizard prints its summary and the next step. The installer's own last lines sit above the wizard screens.

## Finish a setup you skipped

Some installs do not open the wizard:

* a Homebrew install
* an install with `--yes`, or with `FNO_YES` or `FNO_NO_WIRE` set
* an install from an agent or from CI, where no terminal exists
* an install where you pressed Ctrl-C or Esc in the wizard

The install still succeeds in each case. To finish setup, run `fno` with no arguments in a terminal:

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

F\[no] sees that this machine has no finished setup, and it opens the wizard before the mux. When you finish the wizard, the mux opens. The next bare `fno` goes straight to the mux.

If you press Esc to cancel, F\[no] writes no config. It prints the path of its report file, `~/.fno/sidecar/wizard-report.json`, and the command that finishes setup later:

![A terminal. After Esc, the wizard prints that it cancelled and left the config untouched, names its report file, and ends with: Setup did not finish. Run fno to finish setup.](https://mintcdn.com/fno/ctOXcjpwNiWR9Vp2/images/setup-wizard-cancelled.png?fit=max\&auto=format\&n=ctOXcjpwNiWR9Vp2\&q=85\&s=c9c35805e51e5bd120d346dd7b680a4c)

You can ignore the `setup: event append failed` line. It does not change the result: your config is untouched, and the next bare `fno` opens the wizard again.

## Run the wizard again

F\[no] opens the wizard on its own only once. After that, start it yourself:

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

The wizard asks every question again, and the last screen lists the changes before it writes them.

## Add F\[no]'s allow rules to your harness

F\[no] ships a short list of commands that your harness can allow without a prompt each time. The list holds F\[no]'s own record commands and common reads, such as `fno backlog`, `fno inbox` and `git status`. No rule in it reaches a shell, an interpreter or a merge.

This step is not a wizard screen. Preview it, then apply it:

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

The apply prints one line for each harness it finds:

```text theme={"theme":{"light":"min-light","dark":"min-dark"}}
  permission-rules: wrote claude rules to /Users/you/.claude/settings.json
```

The step changes these files:

| Harness | File | Change |
| - | - | - |
| Claude Code | `~/.claude/settings.json` | Appends `Bash(<command> *)` rules to `permissions.allow`. |
| Codex CLI | `~/.codex/rules/fno.rules` | Writes the rules file. Restart Codex: it reads rules at startup. |
| OpenCode | The global OpenCode config | Puts F\[no]'s rules first, so a rule of your own wins. |

The step never changes `deny`, `ask` or Auto Mode settings. A second run changes nothing. If you edit a rule that F\[no] wrote, the next run keeps your edit and says the file differs from the shipped list.

## Set up from an agent

An agent session cannot answer the wizard. It runs the non-interactive setup:

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

The first command lists the actions and changes nothing. The second applies the recommended defaults. That path never turns automatic merging on. To answer the questions yourself later, run `fno` in a terminal.

## Install the plugin from a Claude Code session

The F\[no] plugin can install the CLI for you, from inside a Claude Code session. That installer links `fno` into `~/.local/bin` and edits no shell profile. So you do not need a new session: the next command works in the same session. If your PATH does not hold `~/.local/bin`, call `~/.local/bin/fno` by its full path.

That route keeps the non-interactive setup. Run bare `fno` in a terminal afterwards to answer the wizard.

## How F\[no] knows setup is done

A finished wizard writes the marker file `~/.fno/sidecar/wizard-done`. This is true for every start: the installer, bare `fno` and `fno do wizard`. It holds the F\[no] version and a UTC time. On the nightly build used for this page, it read:

```text theme={"theme":{"light":"min-light","dark":"min-dark"}}
fno 0.4.9-dev.20261113 2026-11-13T16:53:35Z
```

The installer and bare `fno` both read this file. When it exists, neither opens the wizard. Esc or Ctrl-C writes no marker, so bare `fno` asks again. A wizard that reaches its last screen writes the marker. A change that failed to apply does not stop the marker. Read its report to check each change.

## Next steps

* [Install and verify](/docs/install.md): check the CLI version and plugin discovery.
* [Harness reference](/docs/reference/harnesses.md): learn the workflow prompt for your harness.
* [Quickstart](/docs/quickstart.md): take a first task from an idea to a PR.


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