[role="primary asciidoc-tabs-sync-cli"]
.CLI
****
[source,bash,subs=attributes+]
----
ifdef::create-cli-group-id[]
ifdef::create-cli-extensions[]
quarkus create cli {create-cli-group-id}:{create-cli-artifact-id} \
endif::[]
ifndef::create-cli-extensions[]
ifndef::create-cli-code[]
quarkus create cli {create-cli-group-id}:{create-cli-artifact-id} \
endif::[]
ifdef::create-cli-code[]
quarkus create cli {create-cli-group-id}:{create-cli-artifact-id}
endif::[]
endif::[]
endif::[]
ifndef::create-cli-group-id[]
ifdef::create-cli-extensions[]
quarkus create cli org.acme:{create-cli-artifact-id} \
endif::[]
ifndef::create-cli-extensions[]
ifndef::create-cli-code[]
quarkus create cli org.acme:{create-cli-artifact-id} \
endif::[]
ifdef::create-cli-code[]
quarkus create cli org.acme:{create-cli-artifact-id}
endif::[]
endif::[]
endif::[]
ifdef::create-cli-extensions[]
ifndef::create-cli-code[]
    --extension={create-cli-extensions} \
endif::[]
ifdef::create-cli-code[]
    --extension={create-cli-extensions}
endif::[]
endif::[]
ifndef::create-cli-code[]
    --no-code
endif::[]
ifdef::create-cli-post-command[]
ifeval::["{create-cli-post-command}" != ""]
{create-cli-post-command}
endif::[]
endif::[]
ifndef::create-cli-post-command[]
cd {create-cli-artifact-id}
endif::[]
----

To create a Gradle project, add the `--gradle` or `--gradle-kotlin-dsl` option.

_For more information about how to install the Quarkus CLI and use it, please refer to xref:cli-tooling.adoc[the Quarkus CLI guide]._
****

[role="secondary asciidoc-tabs-sync-maven"]
.Maven
****
[source,bash,subs=attributes+]
----
mvn io.quarkus.platform:quarkus-maven-plugin:{quarkus-version}:create \
ifdef::create-cli-group-id[]
    -DprojectGroupId={create-cli-group-id} \
endif::[]
ifndef::create-cli-group-id[]
    -DprojectGroupId=org.acme \
endif::[]
    -DprojectArtifactId={create-cli-artifact-id} \
ifndef::create-cli-code[]
    -DnoCode \
endif::[]
ifdef::create-cli-extensions[]
    -Dextensions="picocli,{create-cli-extensions}"
endif::[]
ifndef::create-cli-extensions[]
    -Dextensions="picocli"
endif::[]
ifdef::create-cli-post-command[]
{create-cli-post-command}
endif::[]
ifndef::create-cli-post-command[]
cd {create-cli-artifact-id}
endif::[]
----

To create a Gradle project, add the `-DbuildTool=gradle` or `-DbuildTool=gradle-kotlin-dsl` option.
****
