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.
Requirements
Section titled “Requirements”| 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 withgh 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.
Install
Section titled “Install”-
Run the install script:
Terminal window curl -fsSL https://usecornercase.dev/install.sh | shIt downloads the binary for your system from the latest GitHub release, puts it in
~/.local/binand adds that folder to thePATHin your shell profile. Open a new terminal so your shell picks it up.Or, with Homebrew:
Terminal window brew install usecornercase/tap/cornercaseOn Windows, from PowerShell or a command prompt:
Terminal window powershell -ExecutionPolicy Bypass -c "irm https://usecornercase.dev/install.ps1 | iex"It downloads
cornercase.exefrom the latest release, puts it in%USERPROFILE%\.local\binand adds that folder to your userPATH. 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 runningcornercase.exeaside ascornercase.old.exe, which cornercase deletes once nothing runs from it, and the server keeps the old version until it restarts. -
Check that it runs:
Terminal window cornercase --version -
Open a terminal in a project folder and start it:
Terminal window cd ~/code/my-projectcornercaseThe folder you start from becomes your first project. Continue with First steps.
From source
Section titled “From source”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. |
-
Check that Zig is the right version:
Terminal window zig version# 0.15.2 -
Clone the repository:
Terminal window git clone https://github.com/usecornercase/cornercase-terminal.gitcd cornercase-terminal -
Build and install the
cornercasebinary:Terminal window cargo install --path . --lockedThe 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 yourPATH.
On Windows
Section titled “On Windows”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:
git config --global core.longpaths trueKeep 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.
Update
Section titled “Update”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:
-
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
↑↓. -
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.
-
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).
From the command line
Section titled “From the command line”Right after a release, you don’t have to wait for the next check. Run this from any shell, even inside cornercase:
cornercase updateIt 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 update itself
Section titled “When cornercase can’t update itself”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:
brew update && brew upgrade cornercase # Homebrewcurl -fsSL https://usecornercase.dev/install.sh | sh # everything elseOn 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.
Builds from source
Section titled “Builds from source”Pull the latest changes and install again; the next cornercase offers to restart the old server:
cd cornercase-terminalgit pullcargo install --path . --lockedA 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.
Uninstall
Section titled “Uninstall”Stop the server, then remove the binary the way you installed it:
cornercase kill-serverrm ~/.local/bin/cornercase # install scriptbrew uninstall cornercase # Homebrewcargo uninstall cornercase # from sourceThe 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:
rm -rf ~/.config/cornercase ~/.local/state/cornercaseIf you set XDG_CONFIG_HOME or XDG_STATE_HOME, the folders are there instead.
On Windows, in PowerShell:
cornercase kill-serverRemove-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.