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

Command-line options

tagent-cli [OPTIONS] [text]

Without arguments, tagent-cli starts unified mode (the prompt and the hotkeys). With text, it translates it and exits.

OptionWhat it does
<text>Translate the text and exit; quote a phrase with spaces. A single word shows a dictionary entry
-l <target> <text>, --langTranslate into <target> (source auto), for this run only
-l <source> <target> <text>Translate from <source> into <target>, for this run only
-s <text>, --speechRead the text aloud
-c, --configShow the current settings and profiles (keys masked)
-v, --versionShow the version
-h, --helpShow the help
--print-default-configPrint a new configuration file with every setting at its default; changes nothing
--update-configAdd the settings your configuration file lacks; see Upgrading
--install-desktopLinux: add the “Tagent CLI” menu entry and icon for your user, pointing at this program; the hotkeys on Wayland need it. See Hotkeys: On Wayland
--uninstall-desktopLinux: remove what --install-desktop added

Languages are names or codes: -l German, -l de, -l English German.

tagent-cli hello
tagent-cli "Hello world"
tagent-cli -l de "Hello world"
tagent-cli -l en de "Hello world"
tagent-cli -s "Bonjour le monde"
tagent-cli --print-default-config > tagent-cli.new.toml