// Module included in the following assemblies:
//
// assembly-getting-started.adoc
// assembly-managing-addresses.adoc

[id='create-address-cli-{context}']
= Creating addresses using the command line

You can create addresses using the command line.

.Procedure

. Create an address definition:
+
[source,yaml,options="nowrap"]
----
include::../common/standard-small-queue.yaml[]
----
+
NOTE: Prefixing the name with the address space name is required to ensure addresses from different address spaces do not collide.

. Create the address:
+
[source,yaml,options="nowrap",subs="attributes"]
----
{cmdcli} create -f standard-small-queue.yaml
----

. List the addresses:
+
[source,yaml,options="nowrap",subs="attributes"]
----
{cmdcli} get addresses -o yaml
----

