TYPO3 v9 has reached its end-of-life September 30th, 2021 and is not maintained by the community anymore. Looking for a stable version? Use the version switch on the top left.
You can order Extended Long Term Support (ELTS) here: TYPO3 ELTS.
CLI Tools for Site Handling¶
Two CLI commands are available:
The list command can be executed via
typo3/sysext/core/bin/typo3 site:list and will list all configured sites
with their configured Identifier, root page, base URL, languages, locales and a flag whether or not the site is enabled.
The show command can be executed via
typo3/sysext/core/bin/typo3 site:show <identifier>.
It needs an identifier of a configured site which must be provided after the command name.
The command will output the complete configuration for the site in the YAML syntax.