Requirements
- Coder CLI v2.25.0+ installed on the machine running Mux and logged in to your deployment
- Access to a Coder template (for new workspaces) or an existing workspace
- A workspace image with git and your toolchain
Create a new Coder workspace
- Choose SSH as the runtime and enable Use Coder Workspace.
- Select New.
- Pick a template and (if available) a preset.
- Mux creates a Coder workspace named
mux-<workspace-name>(derived from your Mux workspace name), waits for startup scripts, then connects over SSH.
Use an existing Coder workspace
- Choose Existing.
- Select a workspace from the list (status is shown).
- Mux will start the workspace if it is stopped, then connect to
<workspace-name>.coder.
SSH setup
Mux runscoder config-ssh --yes before connecting, which creates SSH aliases like <workspace-name>.coder in ~/.ssh/config.
Notes
- If the Use Coder Workspace checkbox is missing, verify that the Coder CLI is found on the PATH.
- Each Mux workspace still lives in its own directory on the remote machine, even when sharing a single Coder workspace.