Quick start
This walkthrough takes you from install to a running agent session, then connects wsx to your editor, terminal, and diff tool.
-
Install wsx. On macOS or Linux with Homebrew:
brew tap bakedbean/workspacex https://github.com/bakedbean/workspacex brew install bakedbean/workspacex/wsxFor other methods, see Installation.
-
Register a repository:
wsx repo add /path/to/your/repo -
Launch the dashboard:
wsx -
Press
nto create a workspace: a new branch and worktree with its own agent session. PressN(Shift-N) instead to start the agent in permissive mode, which skips permission prompts. -
Press
enterto attach. The agent (Claude Code by default) runs inside the worktree. -
Press
Ctrl-x dto detach back to the dashboard. The session keeps running. -
Tell wsx which tools the
[e]editor,[t]terminal, and[v]diff keys launch. For example, Neovim in Alacritty:wsx config set editor_cmd "alacritty --working-directory={path} -e nvim" wsx config set terminal_cmd "alacritty --working-directory={path}" wsx config set diff_cmd "alacritty --working-directory={path} -e nvim -c 'DiffviewOpen {base}...HEAD'"{path}is the worktree and{base}is the diff base ref. Wrap terminal editors likenvimin a terminal command; GUI editors likecodework directly. See Editor, terminal, and diff for placeholders and fallbacks.
Next steps
- Dashboard and Keybindings
- Attached view
- Coding agents, to switch from Claude Code
- Settings