Since tmux is not available by default on Piz Daint, here's a short guide on how to install and use it there (as of 2020-01-16).
Load the necessary modules:
module load daint-gpu EasyBuild-custom/cscs
Now you can build tmux
using:
eb tmux-2.9.eb -r