Guides for users

Terminal and cloud shells

Shells in the browser: into apps and machines, or a cloud shell with OpenTofu and Ansible signed in as you.

The Terminal opens shells in your browser. Choose + (or the list in an empty window) and pick a place: a cloud shell, one of your apps or one of your machines. Type to search across all of them by name, project or state.

Into an app or a machine

  • An app: a shell inside its running container. With several copies, each copy is its own place (web #2). The app’s Console tab has the same terminal beside a file browser (Apps).
  • A machine: its own console, from the first line the firmware prints.

You need the right to manage the app or machine.

Cloud shells

A cloud shell is a short-lived container, or microVM, of your own with tools in it. Your operator decides which shells there are. Two come with Velrix:

  • Velrix shell: OpenTofu with the Velrix provider, Ansible with the Velrix collection, git, ssh, jq, vim, tmux and a velrix command, signed in as you. Velrix makes a key for the session that acts as you, in the organisation you opened it in, with only the scopes the shell names; it is dropped when the session ends. tofu and ansible use it with no setup, and velrix whoami, velrix events and velrix <capability:event> key=value call the API.
  • Debian shell: a scratch Debian box, not signed in, where apt install works.

Your organisation’s admins may add shells of their own, from images in the organisation’s registry namespace, when the operator allows it.

How long a session lives

Opening a shell you already have open (in another tab, a split or on another device) lands in the same session. A session ends when no terminal has been open for a minute and a half, when nobody has typed for the shell’s idle time (30 minutes for the stock shells), or at its longest (8 hours for the Velrix shell). End this shell ends it now. Its home directory goes with it: keep work in git, or on a volume through the Files app.

A shell marked microVM runs in a virtual machine of its own, with its own kernel. Your operator chooses which shells do.

Working in the terminal

How
SplitAlt+Shift+= to the right, Alt+Shift+- down: another terminal in the same place; drag the border
Search the scrollbackCtrl+Shift+F
Copy and pasteSelect, or Ctrl+Shift+C; paste with Ctrl+Shift+V. Ctrl+C stays an interrupt
Font sizeCtrl+= and Ctrl+-, Ctrl+0 to reset
BroadcastAlt+Shift+B: what you type goes to every pane of the tab, with a warning strip and Stop
UploadDrop files on a pane, or More › Upload files… (up to 64 MiB)
DownloadMore › Download a file… and a path (up to 512 KiB)
Leave the terminalCtrl+F6 moves focus out

After a reload, or on another device, each pane picks up its session where it was.