Skip to main content
Command

terminus site:create


Description

Creates a new site.

Example Usage

terminus site:create --org ORG --region REGION -- <site_name> <label> <upstream_id>

site:create <site> <label> <upstream> Creates a new site named <site>, human-readably labeled <label>, using code from <upstream>.


site:create <site> <label> <upstream> --org=<org> Creates a new site named <site>, human-readably labeled <label>, using code from <upstream>, associated with <organization>.


Options

OptionDescription
--ansiForce (or disable --no-ansi) ANSI output
--defineDefine a configuration item value.
--helpDisplay help for the given command. When no command is given display help for the <info>list</info> command
--no-ansiNegate the "--ansi" option
--no-interactionDo not ask any interactive question
--orgOrganization name, label, or ID
--quietDo not output any message
--regionSpecify the service region where the site should be created. See documentation for valid regions.
--verboseIncrease the verbosity of messages: 1 for normal output (-v), 2 for more verbose output (-vv), and 3 for debug (-vvv)
--versionDisplay this application version
--yesAnswer all confirmations with "yes"

Available Region Codes

NameCode
Australiaau
Canadaca
European Unioneu
United Statesus

For example (replace my-eu-site-name, My EU Site Name, WordPress, My Workspace Name, and the eu region accordingly):

terminus site:create my-eu-site-name "My EU Site Name" "WordPress" --org "My Workspace Name" --region eu
[notice] Creating a new site...
[notice] Deploying CMS...
[notice] Deployed CMS
Back to all commands