> ## Documentation Index
> Fetch the complete documentation index at: https://docs.42plugin.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 登录你的账号

> 使用设备授权码登录 42plugin

使用 `42plugin auth` 命令登录你的账号。

## 登录步骤

```bash theme={null}
42plugin auth
```

执行后会：

1. 自动打开浏览器
2. 显示设备验证码（如：`ABCD-1234`）
3. 在浏览器中输入验证码
4. 完成登录

<Tip>
  如果浏览器未自动打开，请手动复制显示的链接并在浏览器中打开
</Tip>

## 查看登录状态

```bash theme={null}
42plugin auth --status
```

## 登出

```bash theme={null}
42plugin auth --logout
```

## 切换账号

```bash theme={null}
42plugin auth --logout
42plugin auth
```

## 下一步

<Card title="安装插件" icon="download" href="/install/cli-install">
  开始安装你的第一个插件
</Card>
