Skip to main content

Opening a Shell

Opens a full interactive terminal over WebSocket. Press Ctrl+D or type exit to disconnect.

Choosing a Shell

Default: /bin/bash.

What Works

The PTY supports everything you’d expect from a real terminal:
  • Editors: vim, nano
  • Monitors: top, htop
  • Tab completion and command history
  • Colors and ANSI escape codes
  • Terminal resizing — automatic, resize events forwarded
Full-screen applications like tmux and less work correctly.

Shell vs Exec

Tips

Create and Shell In

Shell with Custom Environment

Set up the environment before shelling in:
SDK usage: Interactive Terminals. Full flags: CLI Reference.