r/PowerShell • u/uniquerunner • Feb 10 '26
PSMUX: Native tmux for PowerShell — split panes, sessions, detach/attach — no WSL needed
For anyone who's wanted tmux functionality in PowerShell without installing WSL:
psmux is a native Windows terminal multiplexer that works exactly like tmux. Same commands, same keybindings, zero learning curve if you already know tmux.
Why this exists:
- Needed tmux-style session management on Windows servers
- Didn't want WSL overhead just for terminal multiplexing
- Wanted to SSH into Windows boxes and still have pane splitting
Quick install:
winget install psmux
or
cargo install psmux
Or: scoop install psmux | choco install psmux
What you get:
Ctrl+b %— split horizontal |Ctrl+b "— split verticalCtrl+b d— detach session |psmux attach— reattachpsmux ls— list sessionspsmux new-session -s work— named sessions- Mouse support for pane resizing
- Copy mode with vim keybindings
- Scriptable (send-keys, capture-pane, etc.)
The tmux command alias is included, so your muscle memory works.
Just⭐the repo if you like it and feel free to raise any issues
Repo: https://github.com/psmux/psmux
Developed and actively maintained with LOTs of ❤️ for Powershell
Anyone using terminal multiplexing on Windows? What's your current setup?
View all comments
Show parent comment
1
u/Eddyi0202 Apr 04 '26
Yeah, I don't argue about powershell well..power and I admit that I feel that using is just as a shell feels wasteful but the issue is that that basically there is no real alternative on windows. Cmd, git bash, cmder and other things are limited.
There is nushell which embrace similar concept of treating command output as objects as opposed to just text but it's relatively new.
I get that WT is not tied in any way to pwsh, I use it with WSL a lot and must say that it's currently the best terminal emulator for windows.
As for sessions, I only use them on my local machine, no remote ones. Maybe I am missing something but AFAIU from your answer it's still not possible to replicate tmux workflow with just pwsh(any other shell) + WT since WT does not support such concept as workspace/session (meaning a group of tabs/windows tied together) and ability to switch between them.
One way would be to utilize window manager/virtual desktops altough it's not very efficient.
Kinda off-topic but I guess agentic AI workflows might motivate terminal emulator creators to implement such concept since it's very usefull for organizing parallel work.