Last Updated: February 25, 2016
·
983
· juggler

Tmux exists immediately

If you've installed tmux via homebrew

brew install tmux

And then you noticed that it just exists immediately after start

tmux

or any other command

tmux list-session
> failed to connect to server: Connection refused

Then you just need to install reattach-to-user-namespace script

Thankfully, homebrew makes this easy:

brew install reattach-to-user-namespace