Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

The menu

teeup menu opens a list of teeup actions in sections. When you select a section and then an action, the menu runs the applicable teeup command.

teeup menu

The sections

SectionWhat is in it
InstallFive submenus: Editors, Apps, AI, Shell and containers, and Language runtimes.
LaunchThe GUI apps that teeup installed: WezTerm, Emacs, Zed, Firefox Developer Edition, Obsidian, and the others.
StyleSelect a theme, show the current theme, and list the fonts that teeup knows.
CheckThe doctor, status, every capability, and a lint of the capability metadata.
SetupShow or edit the answers, and preview or run the retirement of the old teeup and chezmoi wiring.
UpdateRuns teeup update.

The lists change for each machine. An Install row does not show after that capability is installed, and a Launch row shows only after its capability is installed. Each row uses teeup has to decide.

When you select an action, the menu runs it and closes, so run teeup menu again for the next action.

Moving around

teeup draws the menu with the best picker that it finds. It uses gum, which the teeup runtime installs, then fzf, then a plain numbered list. The numbered list works anywhere, also over ssh and inside a script.

PickerChooseGo back one level
gumArrow keys, then ReturnEscape
fzfType to filter, then ReturnEscape
Numbered listType the number or the exact label, then ReturnAn empty line or q

Every submenu ends with a .. row, which goes back one level. If you go back from the top level, the menu closes. If you type a number that is out of range, the numbered list asks again and does not close.

To force one picker, set TEEUP_MENU_PICKER to gum, fzf or plain. The default value is auto.

TEEUP_MENU_PICKER=plain teeup menu

Opening directly

Every row has a dotted id, for example install, install.editors or style.theme. Give a dotted id to teeup menu to open a submenu directly, or to run an action without the menu:

CommandWhat happens
teeup menu installOpens at the Install section.
teeup menu install.editorsOpens at the list of editors.
teeup menu style.themeRuns teeup theme set, which shows the theme picker.
teeup menu check.doctorRuns teeup doctor.

Previewing and changing the menu

If you set DRY_RUN=true, you can still move through the menu, but an action prints [DRY-RUN] Would run: <command> and does not run.

The share/teeup/menu.json file in the checkout defines the menu. To add, change, or hide a row, write ~/.config/teeup/menu.json in the same format. A row in this file with the same id replaces the shipped row. Hooks and extending gives the format.