Manages your Wix account.
For example, after you release a headless project, you can use wix account to find and buy a custom domain for the project's site.
The following table lists the subcommands available for the wix account command:
| Subcommand | Description |
|---|---|
domain suggest <query> | Suggests available domains based on a keyword, brand, or business idea. |
domain checkout-link <domain> | Gets a checkout link to buy a domain for your Wix account. Also available as domain buy. |
The query must be 3 to 100 characters long. To pass more than one word, wrap the query in quotes. For example:
The following flags are available for the domain suggest subcommand:
| Flag | Description |
|---|---|
-l, --limit <number> | Number of suggestions to return, from 1 to 20. |
-t, --tld <tld...> | Filters the suggestions by up to 10 TLDs, written without the dot. For example, com net. |
--json | Outputs the suggestions in JSON format. |
Pass the domain, including its TLD. For example:
By default, the command opens the link in your browser. In CI, or when an AI agent runs the CLI, it prints the link instead. Wix charges you only after you complete the purchase in the browser.
The following flag is available for the domain checkout-link subcommand:
| Flag | Description |
|---|---|
--json | Outputs the checkout link in JSON format, instead of opening your browser. |
The following flag is available for the wix account command:
| Flag | Description |
|---|---|
--site-id <siteId> | The site to buy a domain for. With a site ID, domain checkout-link opens the checkout in that site's dashboard. If you omit it, the command uses the site in your project's configuration, or opens the general domain purchase page when there's no site. |
Last updated: 19 October 2026