# line auth


Inspect or migrate local session storage. Neither subcommand contacts LINE.

## Usage

```sh
line auth status [--check] [--json]
line auth migrate --storage=headless
```

## Subcommands

| Name | Description |
| --- | --- |
| `status` | Show where the session is stored and whether it can be read. Add --check to also test write readiness without replacing the active session, or --json for a status object (also on errors). |
| `migrate` | Linux only: move an existing native session to headless storage. Needs a terminal to accept host-only protection. |

## Examples

```sh
line auth status
line auth status --check --json
line auth migrate --storage=headless
```

Use line doctor to also check whether LINE still accepts the session.


---
Source: https://kongesque.github.io/line-cli/reference/commands/auth/
