• brew install tmux install tmux with homebrew (macOS)
  • tmux open tmux
  • exit or Ctrl+D to close a pane, exit tmux

tmux is controlled by a key combination of a prefix key, ‘C-b’ Ctrl-b by default, followed by a command key.

  • ctrl+B, then ? to open a list of all key bindings
  • ctrl+B, then % to open a new pane (horizontal)
  • ctrl+B, then " (double-quote) to open a pane (vertical)
  • ctrl+B, then arrow key (left/right/up/down) to move between panes (horizontal)