Skip to content

Install on macOS

Termivoa installs on an Apple Silicon Mac as one file, pterm, that you download from GitHub and set up with pterm setup. It is free and open source; you need no account.

  • A Mac with Apple Silicon (M1 or later).
  • Tailscale on the Mac and the phone, signed in to the same account.

No Node.js, Go or other tools are needed. Set up a GitHub repository also needs git on the computer.

Make a folder, download the beta with curl, make it runnable and run setup:

Terminal window
mkdir -p ~/.local/bin
curl -fsSL -o ~/.local/bin/pterm https://github.com/intojhanurag/Termivoa/releases/download/v0.1.0-beta.4/pterm-darwin-arm64
chmod +x ~/.local/bin/pterm
~/.local/bin/pterm setup

Then follow Pair your phone.

With the GitHub CLI (gh), this line replaces the curl line:

Terminal window
gh release download v0.1.0-beta.4 -R intojhanurag/Termivoa -p pterm-darwin-arm64 -O ~/.local/bin/pterm

If the shell says pterm: command not found, ~/.local/bin is not on your PATH (the folders the shell searches). Type ~/.local/bin/pterm, or add the folder for zsh, the default Mac shell, and open a new terminal window:

Terminal window
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zshrc

Before you run setup, compare the checksum (a fingerprint of the file) with the release’s SHA256SUMS file:

Terminal window
curl -fsSL https://github.com/intojhanurag/Termivoa/releases/download/v0.1.0-beta.4/SHA256SUMS | grep pterm-darwin-arm64
shasum -a 256 ~/.local/bin/pterm

The two long numbers must be the same. If they are not, delete ~/.local/bin/pterm and download it again.

What Where
Program ~/.local/bin/pterm
Data ~/Library/Application Support/Phone Terminal
Logs ~/Library/Application Support/Phone Terminal/logs/
Cache ~/Library/Caches/Phone Terminal
Startup entries ~/Library/LaunchAgents/dev.phone-terminal.broker.plist and dev.phone-terminal.gateway.plist

“Phone Terminal” is the old working name, kept so existing installs keep working. Keep pterm where it is after setup. The startup entries point to that exact path.

pterm setup registers two LaunchAgents (macOS entries that start a program at login). They start two background processes:

  • the broker, which owns your sessions;
  • the gateway, which serves the phone page on your Mac only (127.0.0.1:8787).

Both run as you, never as an administrator. If one crashes, macOS starts it again.

A sleeping Mac cannot answer the phone. Keep it on power and turn on System Settings → Battery → Options → Prevent automatic sleeping on power adapter when the display is off.