sudo apt install automake build-essential pkg-config libevent-dev libncurses-dev -y
VERSION=3.1b
wget https://github.com/tmux/tmux/releases/download/${VERSION}/tmux-${VERSION}.tar.gz
tar xf tmux-${VERSION}.tar.gz
rm tmux-${VERSION}.tar.gz
cd tmux-${VERSION}
./configure
make -j$(nproc)
sudo make install
cd ..
sudo rm -rf /usr/local/src/tmux-*
sudo mv tmux-${VERSION} /usr/local/src
sudo killall -9 tmux
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
wget https://gist.githubusercontent.com/Dibbyo456/2329ca8154654550c496e729a22d8f08/raw/tmux.conf
mkdir -p ~/.config/tmux
mv tmux.conf ~/.config/tmux/tmux.conf
tmux source-file ~/.config/tmux/tmux.conf
# While in a tmux session
Ctrl+B then Shift+I --> Install plugins
Ctrl+B then Shift+U --> Update plugins