Docs›Reference›Emergic CLI

Emergic CLI

The emergic command lets you work with your office's AI from a terminal: an interactive console, or one question at a time.

Install the command#

The command comes with the Emergic app. Open Settings → General → Emergic CLI and choose Install to put emergic on your PATH.

Open a new terminal#

A terminal opened before the install does not see the command yet.

Run it#

emergic                 # the interactive console
emergic --help          # every command and option

One question at a time#

emergic -p "Summarise the open issues in this folder"

-p answers once and exits. It only reads, because nobody is there to approve a change. To let it write files, run commands and call tools without asking, add --allow-edits.

Which office it uses#

On a computer that has joined an office, emergic uses the office with your own sign-in. There is nothing to configure. If the office starts after the console, open the model list with /model, or press Ctrl+R in it, to find the office.

The office token goes only to Emergic's relay on your own computer.