Native Installation
No Docker required. Access host binaries like claude, git, gh, etc.
Prerequisites
Section titled “Prerequisites”sudo apt install ttyd tmux# Or: sudo snap install ttyd brew install ttyd tmux goInstallation
Section titled “Installation”-
Install dependencies (see above)
-
Run deploy command
Terminal window ./scripts/termote.sh install native -
Access at http://localhost:7680
When to Use
Section titled “When to Use”- Need access to host binaries (claude, git, gh, etc.)
- No Docker/Podman available
- Full control over services
Service Management
Section titled “Service Management”# Check processesps aux | grep ttydps aux | grep tmux-api
# Restart./scripts/termote.sh install nativeTroubleshooting
Section titled “Troubleshooting”Quick Diagnostics
Section titled “Quick Diagnostics”./scripts/termote.sh health # Health checkss -tlnp | grep -E "7680|7681" # Check portsCheck Processes
Section titled “Check Processes”ps aux | grep ttyd # Check if ttyd is runningps aux | grep tmux-api # Check if tmux-api is runninglsof -i :7680 # Verify main portlsof -i :7681 # Verify ttyd portDebug with Logs
Section titled “Debug with Logs”Native mode discards logs by default. To see logs:
# 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-apiTERMOTE_PORT=7680 TERMOTE_BIND=127.0.0.1 \TERMOTE_PWA_DIR=../pwa/dist ./tmux-api-nativeCommon Issues
Section titled “Common Issues”| Issue | Solution |
|---|---|
| Port in use | lsof -i :7680 then kill process |
| ttyd missing | brew install ttyd (macOS) or apt install ttyd |
| Binary missing | cd tmux-api && go build -o tmux-api-native . |
| PWA not built | cd pwa && pnpm build |
tmux Session
Section titled “tmux Session”tmux list-sessions # List sessionstmux attach -t main # Attach to sessiontmux kill-session -t main # Reset sessionAPI Test
Section titled “API Test”curl http://localhost:7680/api/tmux/healthcurl http://localhost:7680/api/tmux/sessionsUpdating
Section titled “Updating”Via One-liner
Section titled “Via One-liner”Re-run the installer - it compares versions and prompts before updating:
curl -fsSL https://raw.githubusercontent.com/lamngockhuong/termote/main/scripts/get.sh | bashOptions:
--yes- Auto-update without prompt--download-only- Download only, no install
Manual Update
Section titled “Manual Update”./scripts/termote.sh uninstall nativegit pull origin main./scripts/termote.sh install nativeUninstall
Section titled “Uninstall”./scripts/termote.sh uninstall native