2 min read

vercel login

Learn how to login into your Vercel account using the vercel login CLI command.
Table of Contents

The vercel login command allows you to login to your Vercel account through Vercel CLI.

terminal
vercel login

Using the vercel login command to login to a Vercel account.

Vercel CLI supports the following login methods:

  • GitHub OAuth
  • GitLab OAuth
  • Bitbucket OAuth
  • Email confirmation
  • SAML Single Sign-On through your Team's identity provider

When no arguments are provided, an interactive prompt will be displayed asking the user which login method should be used.

To skip the interactive prompt, you may also provide your email address, or Team slug (for SAML Single Sign-On), as an argument to vercel login.

terminal
vercel login me@example.com

Using the vercel login command with an email address.

terminal
vercel login acme

Using the vercel login command with a Team slug for SAML Single Sign-On.

These are options that only apply to the vercel login command.

The --github option can be used to initiate GitHub OAuth login:

terminal
vercel login --github

Using the vercel login command with the --github option.

The --gitlab option can be used to initiate GitLab OAuth login:

terminal
vercel login --gitlab

Using the vercel login command with the --gitlab option.

The --bitbucket option can be used to initiate Bitbucket OAuth login:

terminal
vercel login --bitbucket

Using the vercel login command with the --bitbucket option.

The --oob option can be used to enable to "out-of-band" mode during login, which requires the user to copy the "verification token" from the web browser after an OAuth login, and paste it back into Vercel CLI to complete the login.

In most situations this flag is not necessary, since "out-of-band" mode is automatically enabled when logging in on a remote machine, such as an SSH session or in a Docker container.

terminal
vercel login --github --oob

Using the vercel login command with the --oob option.

The following global options can be passed when using the vercel login command:

For more information on global options and their usage, refer to the options section.

Last updated on February 8, 2023