terminus site:create

Discuss in our Forum Discuss in Slack

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 ANSI output
--helpDisplay this help message
--no-ansiDisable ANSI output
--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, 2 for more verbose output and 3 for debug
--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 Organization Name, and the eu region accordingly):

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