---
title: "judgment login"
description: "Authenticate and store credentials locally."
seo:
  title: "judgment login CLI Reference | Judgment Docs"
  description: "Command reference for `judgment login`, used to authenticate the Judgment CLI in Judgment CLI workflows."
---

> **Warning**
>
> **The Judgment CLI is deprecated and no longer under active development.**
> This reference is retained for existing users. See the [CLI deprecation
> notice](/documentation/cli) for supported alternatives.


## `login`

Authenticate and store credentials locally.

```bash
judgment login [OPTIONS]
```

**Options**

| Flag | Type | Required | Description |
| ---- | ---- | -------- | ----------- |
| <code style={{whiteSpace:"nowrap"}}>--api-key</code> | boolean | no | Prompt for an API key instead of opening browser login. |
| <code style={{whiteSpace:"nowrap"}}>--no-browser</code> | boolean | no | Print the authorization URL instead of opening a browser. |
