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/dodexahedron Aug 22 '26
WT is already there on every supported windows desktop release out there right now. WS2022, yeah, you need to install it manually. But only if you're literally using WT on that server - which you're not unless you're already in an rdp session to it.
WT is not what you connect to via ssh. It is a terminal emulator - not a shell. You can't ssh to wt. It is client-side. You also can't ssh to tmux (except as a login shell, in which case the comparison switches to powershell instead - and novody uses tmux as their login shell).
You ssh to the ssh server, which invokes whatever shell is default for the user or whatever subsystem it is told to invoke on connect (a well-documented one-liner to add pwsh to it if you don't have it in there already, such as on a Linux system).
WT is windows' answer to konsole, gnome terminal, etc.. PowerShell has the "server" features that tmux/screen are often used for.
Enter-pssessionis similar totmux attach-session- just on a per-pane basis, because the UI layout layer is in WT itself already.Or you can use runspaces to have multiple powershell runspaces in the same powershell session, which is like a more advanced form of bash job control (ps also has jobs, for a simpler and more bash-like job system).
Regardless...
Any argument that consists of a sarcastic "oh right like I'll connect to/install/etc [First party solution that is probably already present anyway on the workstation you're sitting at]" when the implied alternative is that you'll install a third-party solution instead is a pretty self-contradictory argument.
This is not about tmux. It is about a thing that replicates its behavior locally - which WT and PS already do just fine.