Getting started
Install
velmux is a single binary for macOS, Linux and Windows. You need git.
brew install vincentvella/tap/velmuxOr download it for your platform from the
releases (Apple Silicon and
Intel Macs; static x86_64 and arm64 Linux builds) and put velmux on your
PATH. Or build it with Rust:
cargo install --git https://github.com/vincentvella/velmux velmux-cli.
A running velmux restarts into a new version by itself when you upgrade.
Optional, but worth it:
- Claude Code (or another agent CLI: set
agentin the config). - The GitHub CLI (
gh), signed in, for pull request status. - Ghostty (or another terminal you can bind keys in) for the prefix-less ⌘ shortcuts.
Windows
velmux runs on Windows 10 (1803 or later) and 11, in Windows Terminal or any terminal that speaks VT sequences. In PowerShell:
irm https://velmux.com/install.ps1 | iexThat checks the download against its checksum, puts velmux.exe in
~\.local\bin and adds it to your PATH. Or build it with Rust
(cargo install, above), or download velmux-x86_64-pc-windows-msvc.tar.gz
from the releases yourself. You need Git for Windows.
What's different there:
- Panes run PowerShell: PowerShell 7 (
pwsh) when it's installed, else Windows PowerShell. - Repo hooks still run in
sh:install_cmd,post_claimand the rest run in theshthat comes with Git for Windows, so a repo's.velmux.tomlworks the same for everyone working on it. - Restarts start panes again. Windows can't hand a running pane to a new
process, so
velmux restartsaves everything, stops the panes and brings them back, with agents resuming their conversations. For the same reason a new velmux binary doesn't restart velmux by itself: it tells you, and you runvelmux restartwhen it suits you. - A running
velmux.execan't be replaced. The server runs from a copy of itself so it doesn't hold the file, but an attached client does: detach (ctrl+b d) before rebuilding or reinstalling velmux. - Links: without Developer Mode, Windows won't make symlinks, so a slot's
shared
.envfiles are hard links and Claude's grouped transcripts a junction. - A pane's folder is where its shell started. PowerShell's
cddoesn't move the process, so a shell's label and the folder velmux sees for it stay where it opened, and a workstream's folder goes once its shells close. - Agents' own mouse support stays off. Windows' console keeps a program's mouse reporting to itself, so the mouse is always velmux's: clicks, drags, the wheel and the pane menu all work, but not an agent's own mouse features.
velmux envprints PowerShell:velmux env | Invoke-Expression.- There are no ⌘ shortcuts: the prefix keys (
ctrl+b …) do everything.
The config and state live where they do elsewhere, under your user folder
(~\.config\velmux\config.toml, ~\.local\state\velmux).
Teach Claude about velmux
velmux skill installThis writes a Claude Code skill to ~/.claude/skills/velmux/ telling any Claude
how to work here: to plan in the repo's own checkout, velmux claim a slot
before changing code, velmux release it when done, and how parked work,
syncing, ports and PRs work. --project puts it in the repo's
.claude/skills/ instead, to commit and share. Rerun it after upgrading velmux.
First run
cd ~/Workspace/your-repo
velmuxThis opens velmux (starting its background server) with your repo in the
sidebar. (Run it anywhere else and you get a welcome screen that adds one.)
Until you're set up, the empty screens list what's left (installing the Claude
skill, Ghostty's ⌘ keys), a key each, and velmux doctor checks everything. Its pool of slots is created the first time one is claimed (or run
velmux init).
The prefix key is ctrl+b (set prefix = "C-a" or anything else in the
config). Press it and a popup shows every key you can press
next.
The loop
- Start a conversation in the repo:
ctrl+b a(or right-click the repo). Claude reads, explores and plans in your checkout without touching it. - Claude claims a slot when it's ready to change code: it runs
velmux claim feat/short-name, gets a warm worktree on that branch, and its pane moves under that slot in the sidebar. - It works there: builds, tests and commits in the slot, with its own
$PORTfor dev servers. You see its state in the sidebar and get a notification when it needs you or finishes. - Hand it back with
velmux release(Claude does this itself, or you do from the slot's right-click menu). Uncommitted work is parked, the slot is reset with its dependencies kept, and the conversation returns to your repo.
Run several of these at once: that's the point.
To claim a slot yourself, use ctrl+b n (it asks for a branch) or the repo's
right-click menu.
⌘ shortcuts
velmux can also take shortcuts with no prefix: ⌘N new conversation, ⌘P go
to any place, ⌘1–9 places, ⌃1–9 tabs, ⌘⇧F find a conversation, and
more. Your terminal has to be told to send them:
velmux keys --ghostty --install(or press g on velmux's welcome screen), then reload Ghostty's config (⌘⇧,). velmux keys lists every binding;
Using velmux has the full table.
Next
- Working with velmux: a day with several agents going, from starting work to putting it away
- Using velmux: the sidebar, tabs, keys, mouse, copying, themes
- Working in slots: parked work, syncing, ports, pull requests