zeabur-auth

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Zeabur Authentication

Zeabur 认证

Always use
npx zeabur@latest
to invoke Zeabur CLI.
Never use
zeabur
directly or any other installation method. If
npx
is not available, install Node.js first.
请始终使用
npx zeabur@latest
调用 Zeabur CLI。
切勿直接使用
zeabur
或其他任何安装方式。如果没有
npx
,请先安装 Node.js。

Login

登录

Run the login command directly — the CLI will automatically open the browser for the user:
bash
npx zeabur@latest auth login
Login with a token (for CI/CD or headless environments):
bash
npx zeabur@latest auth login --token <token> -i=false
直接运行登录命令——CLI 会自动为用户打开浏览器:
bash
npx zeabur@latest auth login
使用令牌登录(适用于 CI/CD 或无头环境):
bash
npx zeabur@latest auth login --token <token> -i=false

Check Login Status

检查登录状态

bash
npx zeabur@latest auth status -i=false
bash
npx zeabur@latest auth status -i=false

Logout

登出

bash
npx zeabur@latest auth logout -i=false
bash
npx zeabur@latest auth logout -i=false

Tips

提示

  • Never ask the user to run the login command themselves — run it directly and let the CLI auto-open the browser
  • Token-based login is useful for CI/CD or headless environments
  • Run
    auth status
    first to check if the user is already logged in before suggesting login
  • 切勿让用户自行运行登录命令——直接运行该命令,让 CLI 自动打开浏览器
  • 基于令牌的登录适用于 CI/CD 或无头环境
  • 在建议登录前,先运行
    auth status
    检查用户是否已登录