---
title: "CLI tools for site handling"
manual: "TYPO3 Explained"
version: "main"
permalink: "https://docs.typo3.org/permalink/t3coreapi:sitehandling-clitools@main"
source: "ApiOverview/SiteHandling/CliTools.rst"
rendered: "2026-09-26T10:15:30+00:00"
---

# CLI tools for site handling {#sitehandling-clitools}

Two [CLI commands](https://docs.typo3.org/permalink/t3coreapi:symfony-console-commands@main) are available:

-   `site:list`
-   `site:show`

## List all configured sites {#sitehandling-cli-tools-list-configured-sites}

The following command will list all configured sites with their identifier, root
page, base URL, languages, locales and a flag whether or not the site is
enabled.

**Composer-based installation**

```bash
vendor/bin/typo3 site:list
```

**Classic mode installation (no Composer)**

```bash
typo3/sysext/core/bin/typo3 site:list
```

## Show configuration for one site {#sitehandling-cli-tools-show-configuration-one}

The show command needs an [identifier of a configured site](https://docs.typo3.org/permalink/t3coreapi:sitehandling-basics-site-identifier@main) which must be provided after the command
name. The command will output the complete configuration for the site in YAML
syntax.

**Composer-based installation**

```bash
vendor/bin/typo3 site:show <identifier>
```

**Classic mode installation (no Composer)**

```bash
typo3/sysext/core/bin/typo3 site:show <identifier>
```
