Skip to main content

Login to the Tomba CLI

Sign in to the Tomba command-line tool with your browser or an API key.

Written by Tomba.io Team

Sign in once to use Tomba from your computer's terminal, the text window where you type commands. This tool is called the Tomba CLI. If you don't work in a terminal, you don't need it.

Before you start

Sign in with your browser

Step 1. In your terminal, type tomba login and press Enter. You'll see a code and a link, and your browser tries to open the link.

Step 2. On the Sign in to Tomba page, type the code and click Continue.

The Sign in to Tomba page with a box for the code, with arrows on the instruction line and the Continue button

Step 3. Check what the CLI is asking to do, then click Authorize.

Step 4. When you see Device Authorized, close the tab and go back to your terminal.

Sign in with an API key

  1. In your terminal, type tomba login --api-key and press Enter.

  2. Paste your API key and your secret when you're asked.

Check your account or sign out

  • Type tomba whoami to see which account you're using.

  • Type tomba logout to remove your saved sign-in from this computer.

This only clears your computer. To cancel the CLI's access on Tomba's side too, click Revoke next to it on Connected Apps.

For developers: see the Tomba docs.

Related articles

Did this answer your question?