Getting started

Install Tuffcode on Windows

One installer, no account, no admin rights. This page covers the download, the first launch, where your data lives, silent install flags, and what to do when the server will not start.

Tuffcode is a Windows desktop app. It installs per user, so it never asks for administrator rights, and it keeps its state outside the install folder. The whole setup is three steps: run the installer, point it at a project, and add a model key.

What you need

  • Windows 10 or Windows 11 on x64. That is the only platform shipping today. macOS and Linux are next.
  • A model provider. A Claude subscription through Claude Code, an Anthropic API key, any OpenAI-compatible endpoint, or a local model in Ollama or LM Studio.
  • Disk space for the installer. The current build is roughly 124 MB. It unpacks a bundled Node server next to the app, so leave room for that plus your projects.
No account with us

Tuffcode has no first party backend and no sign up. Your provider keys stay in the Windows credential store and never reach the renderer, the database, or the logs.

Install in four steps

  1. Download the installer

    Use the download button. It redirects to the newest Tuffcode-Setup-<version>.exe asset on the GitHub releases page, so the link keeps working across versions.

  2. Run it

    Double click the EXE. The NSIS installer is per user, so it does not prompt for elevation, and it lets you pick the install directory. The default is %LOCALAPPDATA%\Programs\Tuffcode.

  3. Add a project folder

    On first launch, click Add project in the sidebar and pick a git repository. Tuffcode works in that folder directly, and it can create an isolated worktree per thread when you ask for one.

  4. Add a model

    Open Settings, Models and add a provider. The presets cover Claude Code, Codex, Anthropic, OpenAI, OpenRouter, DeepSeek, Moonshot, xAI, Ollama and LM Studio. Pick a default model, then start a thread.

If Windows SmartScreen blocks the installer

Unsigned builds trigger the blue "Windows protected your PC" dialog. Click More info, then Run anyway. The warning means the build has no code signing certificate attached, not that the file is known to be malicious. Signed builds skip the dialog entirely.

Silent install

The installer accepts the standard NSIS flags. The /D= argument must come last and must not be quoted.

Tuffcode-Setup-0.3.2.exe /S /D=C:\Tools\Tuffcode

Uninstall silently with the generated uninstaller:

"%LOCALAPPDATA%\Programs\Tuffcode\Uninstall Tuffcode.exe" /S

Where Tuffcode keeps your data

PathWhat is there
%LOCALAPPDATA%\Tuffcode\tuffcode.dbSQLite state: projects, threads, messages, events, memory entries, checkpoints and providers.
%LOCALAPPDATA%\Tuffcode\worktrees\One git worktree per thread that asked for isolation.
%LOCALAPPDATA%\Tuffcode\logs\main.log, server.log and adapter.log, rotated at 2 MB with five files per channel. Secrets are redacted before writing.
~/.tuffcode\server.json, the auth token, secrets.bin and the memory folder.

To move the home directory, set TUFFCODE_HOME. TUFFCODE_USER_DATA moves the Electron profile, and LOCALAPPDATA moves the database, logs and worktrees.

Updates

Tuffcode updates itself from GitHub Releases. Settings has a stable channel and a beta channel, and the app checks on launch. There is nothing to reinstall by hand unless you want to pin an older version.

Troubleshooting

The app shows "Tuffcode server not found"

The bundled server is missing next to the executable. Reinstall, or confirm that resources/server/server.js exists in the install directory.

The app shows "Tuffcode could not start"

The server process exited early or missed its ten second ready deadline. Open %LOCALAPPDATA%\Tuffcode\logs\server.log and main.log for the exit code and the stderr tail. A locked database, a full disk, or a second copy using the same profile can all cause this. Close every Tuffcode window and try again.

The app shows "could not read the server connection"

~/.tuffcode\server.json is unreadable or holds a stale port. Close Tuffcode, delete that file, and start the app again. It is regenerated on the next launch.

Before you file an issue

Settings, About, Export diagnostics writes a redacted JSON snapshot with versions, counts, paths, settings and warnings into the logs folder. Attach that file instead of pasting logs by hand.

Build from source

If you want to run from a checkout instead of the installer, you need Node 24 and pnpm 11.3.0 on a Windows x64 host.

pnpm install --frozen-lockfile
pnpm --filter @tuffcode/desktop run build:win

The build writes Tuffcode-Setup-<version>.exe, latest.yml and the blockmap into apps/desktop/dist/. For day to day development, pnpm dev starts the app with hot reload.

Next