# Install mosh with Homebrew

Remote terminal application. Version 1.4.0 via Homebrew; verified 2026-06-20.

## Install

```sh
sudo av install brew:mosh
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install mosh
```

  Evidence: provider-native install command

## Package facts

- **Package key:** brew:mosh
- **Package manager:** Homebrew
- **Version:** 1.4.0
- **Source summary:** Remote terminal application
- **Homepage:** <https://mosh.org>
- **Repository:** <https://github.com/mobile-shell/mosh>
- **Last updated:** 2026-06-20T05:07:43Z
- **Generated:** 2026-08-03T00:40:33+00:00

## Executables

- mosh (alias)
- mosh-client (alias)
- mosh-server (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 1.4.0
## Project history and usage

Mosh, the mobile shell, originated at MIT CSAIL as research by Keith Winstein and Hari Balakrishnan and was presented at USENIX ATC 2012. The paper framed it as a remote terminal application for intermittent connectivity, roaming between networks, and speculative local echo over high-latency paths. Its core technical contribution was the State Synchronization Protocol, a UDP-based protocol for synchronizing client and server terminal state even when the client's IP address changes.

### Project history

The 2012 evaluation reported real-world keystroke traces from six users and found that Mosh could immediately display the effects of 70 percent of keystrokes; over a commercial EV-DO network, median keystroke response latency was under 5 ms compared with 503 ms for SSH. The USENIX page also records more than 15,000 downloads in the first week after release, making Mosh one of the better-known examples of systems research packaged as a practical Unix tool.

### How it is used

In everyday use, mosh looks like ssh at the command line but uses SSH only to authenticate and start mosh-server on the remote host. After the bootstrap, the terminal session moves to UDP, usually on a high port in the 60000-61000 range. It is packaged broadly across Unix-like systems because its main audience is shell users who work from laptops, unstable Wi-Fi, cellular links, or roaming networks and want terminal sessions to survive connectivity changes.

### Sources

- <https://formulae.brew.sh/formula/mosh>
- <https://github.com/mobile-shell/mosh>
- <https://mosh.org/>
- <https://www.usenix.org/conference/atc12/technical-sessions/presentation/winstein>


## Security Notes

broad file, network, media, or database tool signal. generalized runtime or code generation signal.

- **Geiger risk:** yellow / medium
- broad file, network, media, or database tool signal
- generalized runtime or code generation signal


## Combined YAML source

View the package source record on GitHub. [combined/mosh.yml](https://github.com/automic-vault/db/blob/main/combined/mosh.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
