Skip to content

cmux

Open a new cmux workspace pointing at the freshly created worktree.

[hooks]
post_start = ['cmux new-workspace --cwd "$VIBE_WORKTREE_PATH"']

That’s it — every vibe start will hand the worktree path to cmux.

  • post_start runs inside the new worktree, so --cwd "$VIBE_WORKTREE_PATH" is technically redundant but keeps the command unambiguous if you later move it to a different hook phase.
  • If cmux is not on your PATH in non-interactive shells, use an absolute path: '/usr/local/bin/cmux new-workspace --cwd "$VIBE_WORKTREE_PATH"'.