Skip to content

vercel domains

Learn how to buy, sell, transfer, and manage your domains from the command line.

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 project's Domains tab from the Vercel Dashboard.
vercel domains ls

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

vercel domains inspect [domain]

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

vercel domains add [domain] [project]

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

vercel domains rm [domain]

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

vercel domains buy [domain]

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

vercel domains move [domain] [account-name]

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

vercel domains transfer-in [domain]

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

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

  • --cwd
  • --debug
  • --global-config
  • --help
  • --local-config
  • --scope
  • --token

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

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.

vercel domains rm [domain] --yes

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