Skip to content

Native Installation

No Docker required. Access host binaries like claude, git, gh, etc.

Terminal window
sudo apt install ttyd tmux
# Or: sudo snap install ttyd
  1. Install dependencies (see above)

  2. Run deploy command

    Terminal window
    ./scripts/termote.sh install native
  3. Access at http://localhost:7680

  • Need access to host binaries (claude, git, gh, etc.)
  • No Docker/Podman available
  • Full control over services
Terminal window
# Check processes
ps aux | grep ttyd
ps aux | grep tmux-api
# Restart
./scripts/termote.sh install native
Terminal window
./scripts/termote.sh health # Health check
ss -tlnp | grep -E "7680|7681" # Check ports
Terminal window
ps aux | grep ttyd # Check if ttyd is running
ps aux | grep tmux-api # Check if tmux-api is running
lsof -i :7680 # Verify main port
lsof -i :7681 # Verify ttyd port

Native mode discards logs by default. To see logs:

Terminal window
# Stop services
./scripts/termote.sh uninstall native
# Start ttyd with logs (terminal 1)
ttyd -W -i lo -p 7681 tmux new-session -A -s main
# Start tmux-api with logs (terminal 2)
cd tmux-api
TERMOTE_PORT=7680 TERMOTE_BIND=127.0.0.1 \
TERMOTE_PWA_DIR=../pwa/dist ./tmux-api-native
IssueSolution
Port in uselsof -i :7680 then kill process
ttyd missingbrew install ttyd (macOS) or apt install ttyd
Binary missingcd tmux-api && go build -o tmux-api-native .
PWA not builtcd pwa && pnpm build
Terminal window
tmux list-sessions # List sessions
tmux attach -t main # Attach to session
tmux kill-session -t main # Reset session
Terminal window
curl http://localhost:7680/api/tmux/health
curl http://localhost:7680/api/tmux/sessions

Re-run the installer - it compares versions and prompts before updating:

Terminal window
curl -fsSL https://raw.githubusercontent.com/lamngockhuong/termote/main/scripts/get.sh | bash

Options:

  • --yes - Auto-update without prompt
  • --download-only - Download only, no install
Terminal window
./scripts/termote.sh uninstall native
git pull origin main
./scripts/termote.sh install native
Terminal window
./scripts/termote.sh uninstall native