How to create new tmux session if none exists November 18, 2022 by Tarik I figured it out (and had it pointed out to me). tmux attach || tmux new