Skip to content

Terminal UI

Use abx tui, or bare abx in a terminal, to browse boxes, sessions, authentication and system state and run common actions with single keys.

Updated

The TUI is a dashboard over the same commands you would type. Use it to see every box at a glance, attach, review and land work, and handle authentication and the image without remembering flags. It needs a terminal; without one abx tui fails and points to abx help.

abx tui
abx --no-git tui

Running bare abx in an interactive terminal opens it too. Inside a Git checkout or scratch directory it opens on 1 Repo. Elsewhere, such as $HOME, it opens on 2 All. abx --no-git tui shows the scratch boxes of the current folder.

Views

Press 1 to 5 to switch views. Tab switches sub-tabs within a view.

Key View Shows
1 Repo The boxes of the current workspace. Sub-tabs: overview, sessions, network.
2 All Boxes Boxes of every workspace, with the same sub-tabs.
3 Sessions Sessions of all running boxes.
4 Auth Agents and providers, and the credential renewals of active boxes.
5 System Image, workspaces and host readiness.

Keys

Key Where Action
Up, Down, k, j, Home, End, PageUp, PageDown Lists Move the selection. The mouse wheel also scrolls.
Tab Any view Next sub-tab.
R (uppercase) Any view Refresh.
X Any view Run abx stop --all.
q or Q, Ctrl-C, Ctrl-D Any view Quit.
Enter Repo, All Attach to the selected box. On an empty list, open the new box dialog, or start an image build when no image exists.
n Repo, All New box.
s Repo, All Open a shell in the box.
S Repo, All Start a named session with a program (a shell or an agent).
d Repo, All Run abx diff for the box (fast-forward).
D Repo, All abx diff with a landing mode you choose.
l Repo, All abx land with a landing mode you choose.
x Repo, All Stop the box.
r (lowercase) Repo, All Remove the box. A dialog toggles --force with f or Tab.
Enter, n, x Sessions Attach, new session, stop the box.
c or Enter, o, v Auth, agents abx auth set, abx auth login, abx auth verify for the selected agent.
f or Enter, x Auth, renewals Refresh or revoke the credentials of an active box.
b or Enter, B System, image Build the image (abx image build), or rebuild it (--rebuild).
l, n System, workspaces Link the current folder to the selected workspace, or create a new workspace.

d, D and l apply to Git boxes only. The landing dialog lists fast-forward, squash and merge, matching the landing modes. The new box dialog has a name field, an agent picker (Up and Down) and a network toggle (Tab) between restricted and off. See Network policy. Esc closes any dialog.

How actions run

Attaching to a box hands the terminal to the session directly, so resizing and dtach work natively. Maintenance actions suspend the TUI, run the matching abx command, and return to a refreshed view. If the selection shifted after a refresh, an action key first shows a notice and asks you to press it again on the highlighted item.

Type to search…

↑↓ navigate↵ selectEsc close