It is actually very easy to install both in macOS and Ubuntu.
On mac you just have to do
and on Ubuntu
The problem
However, when trying to connect to my server mosh USER@SERVER
I was getting this error
The solution
The solution was as simple as setting your default LC_ALL
env. Simply add this to your to your ~/.config/fish/config.fish
~/.config/fish/config.fish
And make sure your server also has that locale availabe: