Getting Started¶
This guide walks you through installing wmux and running your first persistent terminal session.
Prerequisites¶
- Go 1.26.1+ -- required to build and install wmux from source
Installation¶
Install wmux from source using the Go toolchain:
Quickstart¶
1. Start the daemon¶
The wmux daemon manages all sessions and must be running before you can create or attach to sessions.
This runs the daemon in the foreground. To run it in the background:
2. Create a session¶
Output:
3. Attach to the session¶
This opens an interactive terminal connected to the session. Press Ctrl+C or run wmux detach to detach without terminating the session.
4. List sessions¶
Output:
5. Kill a session¶
This terminates the session and its underlying process.
Using the Go SDK¶
When embedding wmux through the Go SDK, the daemon starts automatically -- there is no need to launch it manually. See the Go SDK documentation for details.
Next Steps¶
- Configuration -- socket paths, scrollback limits, namespace isolation