login

登录你的远程缓存提供商。

¥Log in to your Remote Cache provider.

Terminal
turbo login

默认提供程序是 Vercel。要指定其他提供程序,请使用 --api 选项。

¥The default provider is Vercel. To specify a different provider, use the --api option.

标志选项

¥Flag options

--api <url>

设置远程缓存提供程序的 API URL。

¥Set the API URL of the Remote Cache provider.

Terminal
turbo login --api=https://acme.com/api

--login <url>

设置应动态生成令牌的登录请求的 URL。

¥Set the URL for login requests that should dynamically generate tokens.

Terminal
turbo login --login=https://acme.com

--sso-team <team>

通过提供团队 slug 连接到启用单点登录 (SSO) 的团队。

¥Connect to an SSO-enabled team by providing your team slug.

Terminal
turbo login --sso-team=slug-for-team

--manual

手动输入令牌,而不是从登录服务请求令牌。

¥Manually enter token instead of requesting one from a login service.