The Current Directory Is The Selector
RMUX is directory-first. When you runrmux new, RMUX stores a local binding
for that directory. Later, re-entering the same folder lets RMUX find the right
environment automatically.
That is why many “not found” problems are really directory mismatch problems.
What Lives Locally
| Path | What it stores |
|---|---|
./rmux.conf | Project-level RMUX config for this directory. |
./.rmux/state.json | The local binding to the remote environment. |
| your source tree | The local code RMUX syncs into the remote environment. |
The Binding Model
- one project directory maps to one RMUX environment binding
- RMUX loads that binding from
.rmux/state.json rmux workspace attachandrmux env statuswork because the directory tells RMUX which environment to target
rmux env list
first and target it by exact name or ID.
The Commands Tied To The Project Directory
rmux configurewrites project config by default.rmux configure --showprints the resolved config for the current directory.rmux newcreates the bound environment for that directory.rmux workspace attachreconnects using the saved local binding.
Read Next
Environments
Learn what the remote environment actually is.
Configuration
Go deeper on precedence, config files, and environment variables.


