Skip to content

vercel login

Learn how to login into your Vercel account from the command line.

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

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 via 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 vc login.

vercel login me@example.com

Using the vercel login command with an email address.

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:

vercel login --github

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

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

vercel login --gitlab

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

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

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.

vercel login --github --oob

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

;