vercel login
Learn how to login into your Vercel account using the vercel login CLI command.The vercel login
command allows you to login to your Vercel account through Vercel CLI.
vercel login
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
.
vercel login me@example.com
vercel login acme
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
The --gitlab
option can be used to initiate GitLab OAuth login:
vercel login --gitlab
The --bitbucket
option can be used to initiate Bitbucket OAuth login:
vercel login --bitbucket
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
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.
Was this helpful?