Atlas DOCS
CLI

Sign in

Sign in the same way the chat apps do. It opens your browser, you log in, and you are set.

bash
atlas login       # opens your browser to sign in
atlas whoami      # shows who is signed in
atlas logout      # signs out

Your login is saved safely on your computer. It stays signed in and refreshes on its own, so you rarely log in again.

No browser (servers and scripts)

You can use a key instead of the browser. Use your dashboard key (see Sign in and keys):

bash
atlas login --token <YOUR_KEY>    # save a key
export ATLAS_TOKEN=<YOUR_KEY>     # or set it for this shell

If ATLAS_TOKEN is set, it is used first.