StartType itBlock 9 of 44

Sign in with a one-time device code

omi login shows an 8-character code and opens the browser to approve it. Type a code into this block to see how it feels.

omi login code

Type the block above. omi login shows an 8-character device code; type it once and you are signed in.

How it works in Omi CLI

  1. 01

    The code is two groups of four letters and digits, like ABCD-EFGH.

  2. 02

    Letters and digits that look alike, such as O and 0, are left out.

  3. 03

    Omi CLI waits while you approve in the browser, and stops if you deny it or the code expires.

  4. 04

    For CI, set OMI_TOKEN instead of signing in.

Try it in your terminal

  • omi login

    Shows the code and opens the browser.

  • omi whoami

    Shows the signed-in account and usage.

  • omi logout

    Signs out.

Try it on your own code.

Free to start, no card. One install, then omi login.

Slide to start free
Slide to start free
install
$ npm install -g @builditomi/cli

Goes well with