Skip to content

Installation

cornercase ships as a single binary for Linux and macOS, on x86_64 and arm64, and for Windows on x64. Install it with the install script, with Homebrew or, on Windows, with PowerShell; building from source is there for contributors and for platforms without a prebuilt binary.

To install You need
A prebuilt binary Linux with glibc 2.35 or newer (Ubuntu 22.04 or later, and similar), or macOS. curl or wget for the install script. Or Windows 11, or 10 from version 1809, on x64 (Windows on Arm runs the x64 build), with PowerShell for the installer; a few features don’t work there yet.
From source Linux, macOS or Windows, rustup, Zig 0.15.2 on your PATH, git, and network access for the first build. See From source.

Optional, for some features:

  • git, for worktrees.
  • gh, logged in with gh auth login, to browse GitHub issues.
  • A coding agent such as Claude Code, Codex or Gemini CLI, to start agents on issues. See Agents for the full list.
  1. Run the install script:

    Terminal window
    curl -fsSL https://usecornercase.dev/install.sh | sh

    It downloads the binary for your system from the latest GitHub release, puts it in ~/.local/bin and adds that folder to the PATH in your shell profile. Open a new terminal so your shell picks it up.

    Or, with Homebrew:

    Terminal window
    brew install usecornercase/tap/cornercase

    On Windows, from PowerShell or a command prompt:

    Terminal window
    powershell -ExecutionPolicy Bypass -c "irm https://usecornercase.dev/install.ps1 | iex"

    It downloads cornercase.exe from the latest release, puts it in %USERPROFILE%\.local\bin and adds that folder to your user PATH. Open a new terminal, such as Windows Terminal, so it picks it up. Running the line again while cornercase runs works too: it sets the running cornercase.exe aside as cornercase.old.exe, which cornercase deletes once nothing runs from it, and the server keeps the old version until it restarts.

  2. Check that it runs:

    Terminal window
    cornercase --version
  3. Open a terminal in a project folder and start it:

    Terminal window
    cd ~/code/my-project
    cornercase

    The folder you start from becomes your first project. Continue with First steps.

cornercase is built with Cargo. The build also compiles Ghostty’s terminal core, which is written in Zig, so you need a Zig compiler of exactly the right version next to Rust.

You need Why
Linux, macOS or Windows On macOS, install the Xcode Command Line Tools: xcode-select --install. On Windows, install the Visual Studio Build Tools with the C++ workload, and see the note below.
rustup The Rust version is pinned in rust-toolchain.toml; rustup installs it by itself on the first build.
Zig 0.15.2 on your PATH It builds Ghostty’s terminal core, which refuses any other Zig version.
git To clone the repository.
Network access Only for the first build, which downloads Ghostty’s sources.
  1. Check that Zig is the right version:

    Terminal window
    zig version
    # 0.15.2
  2. Clone the repository:

    Terminal window
    git clone https://github.com/usecornercase/cornercase-terminal.git
    cd cornercase-terminal
  3. Build and install the cornercase binary:

    Terminal window
    cargo install --path . --locked

    The first build takes a couple of minutes: it fetches Ghostty’s sources and compiles them. Cargo puts the binary in ~/.cargo/bin, which rustup already added to your PATH.

Ghostty’s sources hold files whose paths pass Windows’ 260-character limit, so let git handle long paths before the first build, which clones them:

Terminal window
git config --global core.longpaths true

Keep the checkout in a short folder, such as C:\src\cornercase-terminal: a target folder deep in the file system makes the linker fail with LNK1104. Setting CARGO_TARGET_DIR to a short folder works too. Cargo puts the binary in %USERPROFILE%\.cargo\bin.

cornercase updates itself. When the server starts, and then every hour, it asks GitHub for the latest release. That is a single request to GitHub’s API (plus the changelog once a new version is out); nothing about you or your projects is sent.

When a newer version is out, a toast says a new cornercase is out and More ▴ at the bottom of the sidebar turns cyan, and its menu starts with the new version, such as update to 0.2.0 (in a small terminal, it is in the projects menu’s footer). Click it:

  1. The Update dialog tells you which version is out and which one you have, and what is new since yours: the notes of every version in between, newest first, so nothing is missed when you skipped a few. Scroll long release notes with the wheel or ↑ ↓.

  2. Click update. cornercase downloads the binary for your system, checks it against its checksum, makes sure the new binary runs on this machine, and only then replaces the old one. If something fails, the error shows in red, the old binary stays, and the button becomes try again.

  3. Click restart now. Before you do, the dialog says what is running and will stop: how many agents are working or waiting for you, and which other programs run in which project, or that nothing is running. cornercase saves your session, restarts the server on the new binary, and every attached terminal reopens on it. Your projects, workspaces, tabs and splits come back, but running programs don’t survive: each pane gets a new shell in its folder, so an agent at work is stopped. Claude Code and Codex then resume their conversations in their tabs.

On Windows, the file of a running program can’t be replaced, so cornercase renames the running cornercase.exe to cornercase.old.exe and puts the new one in its place. The old file goes the next time cornercase starts once nothing runs from it, which after a restart is once you have closed that window.

Not ready to restart? Click later: the old version keeps running, and the entry in More ▴ becomes restart to update for later. The next natural restart of the server, after cornercase kill-server or a reboot, also starts the new version, and running cornercase from another terminal against the old server asks whether to restart it (see Command line).

Right after a release, you don’t have to wait for the next check. Run this from any shell, even inside cornercase:

Terminal window
cornercase update

It installs the latest release the same way, then asks whether to restart the server. Add --yes to skip the question, --when-idle to restart only once no agent is working, or --check to only see whether a newer version is out. See Command line.

When cornercase can’t replace its own binary, because Homebrew installed it, because you can’t write to its folder, or because it doesn’t know your platform, the dialog shows the command to run instead, with a copy command button, and cornercase update prints it:

Terminal window
brew update && brew upgrade cornercase # Homebrew
curl -fsSL https://usecornercase.dev/install.sh | sh # everything else

On Windows, it is the PowerShell line from Install.

To turn the check off, set settings → UI → check for updates to never, or check_updates to false in config.json.

Pull the latest changes and install again; the next cornercase offers to restart the old server:

Terminal window
cd cornercase-terminal
git pull
cargo install --path . --locked

A build from source checks for updates too, and updating from the app or with cornercase update replaces it with the prebuilt binary. To stay on your own builds, turn the check off. Builds made with cargo run never check, and refuse cornercase update.

Stop the server, then remove the binary the way you installed it:

Terminal window
cornercase kill-server
rm ~/.local/bin/cornercase # install script
brew uninstall cornercase # Homebrew
cargo uninstall cornercase # from source

The install script also added ~/.local/bin to the PATH in your shell profile; you can leave that line, other programs install there too.

Then remove what cornercase saved, if you don’t want to keep it:

Terminal window
rm -rf ~/.config/cornercase ~/.local/state/cornercase

If you set XDG_CONFIG_HOME or XDG_STATE_HOME, the folders are there instead.

On Windows, in PowerShell:

Terminal window
cornercase kill-server
Remove-Item "$HOME\.local\bin\cornercase.exe", "$HOME\.local\bin\cornercase.old*.exe"
Remove-Item -Recurse "$env:APPDATA\cornercase", "$env:LOCALAPPDATA\cornercase"

The installer added %USERPROFILE%\.local\bin to your user PATH, which you can leave or remove in Settings → System → About → Advanced system settings → Environment Variables.

Files and environment lists everything cornercase writes. Git worktrees it created stay in ~/.cornercase/worktrees until you remove them with git worktree remove.