The current directory is the selector. Re-enter the same local directory before using
workspace or env commands so RemoteMux can load the binding from .rmux/state.json.Basics
Running Commands Remotely
Send commands to a workspace without opening an interactive terminal:Named Workspaces
Create isolated workspaces for parallel work:main always uses the shared /workspace root.
Remove a workspace when done:
Background Servers
Keep a dev server in its own workspace somain stays clean:
Logs
Secrets
Ports
Code Sync
rmux workspace new main performs the initial seed. After that:
- Use git to move code between local and remote (recommended).
- Use
rmux env syncto push the current local directory into the environment root.
Common Patterns
Resume after disconnect
Close your laptop, switch machines, or lose Wi-Fi. Thetmux session survives: