--- layout: docs page_title: 'Commands: namespace list' sidebar_title: list description: | The namespace list command is used to list namespaces. --- # Command: namespace list The `namespace list` command is used list available namespaces. ~> Namespaces are open source in Nomad 1.0. Namespaces were Enterprise-only when introduced in Nomad 0.7. ## Usage ```plaintext nomad namespace list [options] ``` The `namespace list` command requires no arguments. ## General Options @include 'general_options.mdx' ## List Options - `-json` : Output the namespaces in their JSON format. - `-t` : Format and display the namespaces using a Go template. ## Examples List all namespaces: ```shell-session $ nomad namespace list Name Description default Default shared namespace api-prod Production instances of backend API servers api-qa QA instances of backend API servers web-prod Production instances of webservers web-qa QA instances of webservers ```