---
title: Install Hindsight
description: Installing on Windows, macOS and Linux, what lands on your computer, and what "connecting your tools" changes.
sidebar:
  order: 2
---

Every download is on the [releases page](https://github.com/MIXIDtheSilly/Hindsight/releases). Pick your system below.

**Windows**

Download `Hindsight-<version>-Windows-Setup.exe` and run it. It installs for your user only, so it doesn't need admin rights.

The installer puts the app in `%LOCALAPPDATA%\Hindsight`, with two files beside it. `hindsight-daemon.exe` is the tracker that runs in the background. `hindsight-vscode.vsix` is the extension for VS Code, Cursor and Antigravity. After copying the files, the installer runs `hindsight-daemon.exe connect` to hook into your tools.

It also adds a `Hindsight` value to `HKCU\Software\Microsoft\Windows\CurrentVersion\Run` so the app starts when you log in, and registers itself under Settings > Apps.

Open Hindsight from the Start menu if it isn't already open.

**macOS**

Download the `.dmg` that matches your chip: `Hindsight-<version>-macOS-Apple-Silicon.dmg` for an M chip, `Hindsight-<version>-macOS-Intel.dmg` for an Intel Mac. Not sure which you have? Apple menu, then About This Mac. "Chip: Apple M…" means Apple Silicon.

Drag **Hindsight** into Applications and open it. The tracker lives inside the app, at `/Applications/Hindsight.app/Contents/MacOS/hindsight-daemon`, and the app starts it for you.

There's no installer script on a Mac, so the app connects your tools every time it starts instead. It also registers itself to open at login.

While the dashboard is open, Hindsight has a Dock icon. Close the window and it leaves the Dock and stays in the menu bar.

**Linux**

Download `Hindsight-<version>-Linux-x64.AppImage` (or `-Linux-ARM64.AppImage` on an ARM machine), make it executable, and run it:

```bash
chmod +x Hindsight-*-Linux-x64.AppImage
./Hindsight-*-Linux-x64.AppImage
```

The AppImage needs glibc 2.39 or newer (the build runs on Ubuntu 24.04's).

An AppImage mounts itself at a new temporary path every time it runs. Tools remember the path of the tracker they call, so Hindsight copies its tracker to a fixed place, `bin/hindsight-daemon` inside its data folder (`~/.local/share/hindsight` unless you've set `XDG_DATA_HOME`), and uses that copy. A new version replaces the copy.

If Byte pops up in the middle of your screen instead of the bottom-right corner, you're on a Wayland desktop that doesn't let windows place themselves. KDE, Sway and Hyprland get him in the corner. GNOME doesn't.

## What connecting your tools changes

Hindsight learns about your work from small hooks it adds to the tools you use. It does this when the installer finishes, and again every time the app starts, so a tool you install next month gets picked up without you doing anything.

It only touches tools that are on your computer. It writes nothing if a tool is already connected, and it never moves your own hooks around. Here's what each connection puts on disk:

| Tool | What changes |
| --- | --- |
| Claude Code | Hooks merged into `~/.claude/settings.json` (or `$CLAUDE_CONFIG_DIR`). The first time, your original is saved as `settings.json.before-hindsight`. Needs `~/.claude` to exist, so run Claude Code once first. |
| Codex | Hooks merged into `hooks.json` in `$CODEX_HOME`, or `~/.codex`. |
| Cursor agent | Hooks merged into `~/.cursor/hooks.json`. |
| Antigravity agent | A `hindsight` entry in `~/.gemini/config/hooks.json`. |
| OpenCode | A plugin in `~/.config/opencode/plugins/hindsight` (under `$XDG_CONFIG_HOME` if you set it), plus a `daemon-path` file that names the tracker. |
| VS Code, Cursor, Antigravity editors | The Hindsight extension, installed with each editor's own `--install-extension` command. |
| Zed | A `daemon-path` file in the Hindsight extension's folder inside Zed's data folder. You still add the Hindsight extension inside Zed. |

Each hook runs `hindsight-daemon emit` with the tool's name, using the full path of the tracker, so nothing has to be on your `PATH`. Hooks stay quiet and always exit cleanly, so a hook that hits a problem can't block your agent or break a commit.

Two tools need a nudge from you. Codex skips a hook until you trust it, so open Codex's Settings > Hooks (or type `/hooks`) and trust Hindsight's. Codex ties that trust to the hook's place in the file, which is why Hindsight updates its hooks where they sit instead of moving them. And for Zed, add the Hindsight extension inside Zed. Zed's own agent is read straight from its saved threads, so that needs nothing else.

### Git commits

The first time an agent works in a git repo, Hindsight adds a `post-commit` hook there (marked with the comment `# hindsight-git-hook`) so your commits show up on your timeline. If the repo already has its own `post-commit` hook, Hindsight leaves it alone. To stop it adding hooks at all, set the environment variable `HINDSIGHT_GIT_HOOK=off`.

### Connect again by hand

Settings > Setup > **Run setup again** walks through the connection step, one tool at a time. You can also run the tracker's own command:

```text
hindsight-daemon connect
```

It prints one line per tool (`connected`, `already connected`, `not installed`, `skipped` with a reason, or `failed` with a reason). To install the editor extension too, add `--vscode-extension <path to hindsight-vscode.vsix>`. The app keeps the output of its own runs in `connect.log` in the [data folder](#where-hindsight-keeps-its-files).

## Run the command line tool

The installer doesn't change your `PATH`, so call the tracker by its full path.

**Windows**

```powershell
& "$env:LOCALAPPDATA\Hindsight\hindsight-daemon.exe" status
```

**macOS**

```bash
/Applications/Hindsight.app/Contents/MacOS/hindsight-daemon status
```

**Linux**

```bash
~/.local/share/hindsight/bin/hindsight-daemon status
```

The commands you're most likely to want are `status`, `login`, `sync`, `connect` and `disconnect`.

## Where Hindsight keeps its files

Your history, sign-in and logs live in one data folder, separate from the app.

| System | Data folder |
| --- | --- |
| Windows | `%LOCALAPPDATA%\hackclub\hindsight\data` |
| macOS | `~/Library/Application Support/org.hackclub.hindsight` |
| Linux | `~/.local/share/hindsight` |

Set `HINDSIGHT_DATA_DIR` to put it somewhere else. The files you may care about are `hindsight.db` (what's been recorded, until it's uploaded), `device.json` (this computer's sign-in), `daemon.log`, `connect.log` and `update.log`. [Troubleshooting](/docs/troubleshooting) says what each log is for.

`device.json` holds this computer's key to your account, so treat it like a password. On macOS and Linux only your user can read it.
