Guides
Connect to tmux and work with its sessions, windows, and panes.
- Getting started Guide · Drive tmux from PowerShell with native cmdlets.
- Attaching to tmux Guide · Connect to an existing socket and leave its server running.
- Arrange panes and resize windows Guide · Select $window and $pane with Get-TmuxWindow and Get-TmuxPane.
- Capture, refresh and raw commands Guide · Capture, refresh and raw commands guide for LibTmux.
- Commands and control clients Guide · New-TmuxCommand builds a command value that keeps literal argv boundaries, including empty arguments, spaces and punctuation, and does no I/O.
- Compatibility Guide · This source checkout targets PowerShell 7.4 and .NET 8.
- Configure and run hooks Guide · Pass a server, session, window or pane to select a hook table, and choose a hook the scope supports.
- Create sessions, windows and panes Guide · New-TmuxSession, New-TmuxWindow and Split-TmuxPane create tmux objects and emit a LibTmux.Session, LibTmux.Window or LibTmux.Pane.
- Filter and query tmux objects Guide · Use Where-Object to filter captured objects locally.
- Inspect attached clients Guide · Read the terminal and control clients already attached to a selected native $server.
- Link and move windows between sessions Guide · A tmux window can sit at different indices in several sessions.
- Read and change options Guide · Pass a server, session, window or pane to select its option table.
- Read tmux objects Guide · The cmdlets return native objects from libtmux for .NET.
- Remove sessions, windows and panes Guide · Remove-TmuxSession, Remove-TmuxWindow and Remove-TmuxPane take handles directly or from the pipeline.
- Send input to a pane Guide · Select a pane with Get-TmuxPane on the endpoint you intend to change.
- Set the environment for new panes Guide · A server selects tmux's global environment and a session selects its local one.
- Troubleshooting Guide · Start with the endpoint and operation that failed.
- Watch events and use runspaces Guide · Watch-TmuxEvent emits notifications and pane output fragments as they arrive.