To activate the mouse support
nano ~/.tmux.conf
add:
set-option -g -q mouse on
bind-key -T root WheelUpPane if-shell -F -t = "#{alternate_on}" "send-keys -M" "select-pane -t =; copy-mode -e; send-keys -M"
bind-key -T root WheelDownPane if-shell -F -t = "#{alternate_on}" "send-keys -M" "select-pane -t =; send-keys -M"
Install. More information here
# Debian / Ubuntu Linux:
apt install tmux
# RHEL / CentOS Linux:
yum install tmux
# Fedora:
dnf install tmux
