How it works
Remoto creates a secure tunnel between your terminal and your phone. When you run the CLI, it spawns a local shell session and connects to our relay server via WebSocket.
Scanning the QR code opens a web-based terminal on your phone that connects to the same session. Everything you type on your phone is sent to your local terminal, and all output is streamed back in real-time.
Getting started
Install globally
$ npm install -g remotoshStart a session
$ remotoScan the QR code with your phone
CLI commands
The remoto CLI supports the following commands:
remotoStart a new terminal session and display the QR code
remoto statusCheck if you're logged in
remoto doctorRun diagnostics to check Node.js version, network connectivity, and node-pty
remoto openOpen the Remoto dashboard in your browser
remoto logoutClear saved authentication token
remoto helpShow all available commands
Troubleshooting
posix_spawnp failed or spawn-helper errors
This usually means node-pty needs to be rebuilt for your system. Install globally to fix:
npm install -g remotoshSession limit reached
Free accounts can have up to 5 concurrent sessions. End existing sessions from the dashboard or press Ctrl+C in active terminal sessions.
Run diagnostics
Use the doctor command to check your setup:
remoto doctorSecurity
Remoto is designed with security in mind:
- Sessions require two tokens: one from authentication, one from session creation
- Sensitive environment variables (API keys, secrets, tokens) are automatically filtered
- All connections use TLS encryption
- Sessions expire automatically after 1 hour
- Terminal output is streamed but not stored on our servers