Skip to content
Last updated on February 8, 2023
2 min read

vercel domains

Learn how to buy, sell, transfer, and manage your domains using the vercel domains CLI command.

The vercel domains command is used to manage domains under an account, providing functionality to list, inspect, add, remove, purchase, move, transfer-in, and verify domains.

Note: You can manage domains with further options and greater control under a Vercel Project's Domains tab from the Vercel Dashboard.
terminal
vercel domains ls

Using the vercel domains command to list all domains under an account.

terminal
vercel domains inspect [domain]

Using the vercel domains command to retrieve information about a specific domain.

terminal
vercel domains add [domain] [project]

Using the vercel domains command to add a domain to an account or a Vercel Project.

terminal
vercel domains rm [domain]

Using the vercel domains command to remove a domain from an account.

terminal
vercel domains buy [domain]

Using the vercel domains command to buy a domain for an account.

terminal
vercel domains move [domain] [account-name]

Using the vercel domains command to move a domain to another account.

terminal
vercel domains transfer-in [domain]

Using the vercel domains command to transfer in a domain to an account.

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

The --yes option can be used to bypass the confirmation prompt when removing a domain.

terminal
vercel domains rm [domain] --yes

Using the vercel domains rm command with the --yes option.

The --limit option can be used to specify the maximum number of domains returned when using ls. The default value to 20 and the maximum is 100.

terminal
vercel domains ls --limit 100

Using the vercel domains ls command with the --limit option.

The --force option forces a domain on a project, removing it from an existing one.

terminal
vercel domains add my-domain.com my-project --force

Using the vercel domains add command with the --force option.

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

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