Install on macOS
Termivoa installs on an Apple Silicon Mac as one file, pterm, that you download with the GitHub CLI and set up with pterm setup.
Requirements
Section titled “Requirements”- A Mac with Apple Silicon (M1 or later).
- Tailscale on the Mac and the phone, signed in to the same account.
- The GitHub CLI (
gh), signed in withgh auth login. You need an invite to the private repository.
No Node.js, Go or other tools are needed.
Install
Section titled “Install”Make a folder, download the beta, make it runnable and run setup:
mkdir -p ~/.local/bingh release download v0.1.0-beta.3 -R intojhanurag/Termivoa -p pterm-darwin-arm64 -O ~/.local/bin/ptermchmod +x ~/.local/bin/pterm~/.local/bin/pterm setupThen follow Pair your phone.
Use pterm without the full path
Section titled “Use pterm without the full path”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:
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zshrcCheck the download (optional)
Section titled “Check the download (optional)”Download the release’s SHA256SUMS file next to the binary and run:
shasum -a 256 -c SHA256SUMS --ignore-missingWhere does pterm put its files?
Section titled “Where does pterm put its files?”| 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.
How does it start at login?
Section titled “How does it start at login?”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.
Keep the Mac awake
Section titled “Keep the Mac awake”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.