Console command for TYPO3 CMS
PHP Shell Other
Pull request Compare This branch is 2 commits ahead, 9 commits behind TYPO3-Console:master.
Latest commit b0540e1 Feb 14, 2017 @helhum committed on GitHub [TASK] Mark as compatible with TYPO3 8.6 (#416)
TYPO3 Console is battle tested with the current TYPO3 master,
thus we can now safely mark it compatible with the just released
TYPO3 version 8.6.0

Also adapt our build pipeline to the latest breaking changes in the
testing framework and add further builds to include the new TYPO3 version.

TYPO3 Console

Build Status StyleCI Latest Stable Version Total Downloads

Many frameworks come with command helper tools that enables interactions on the command line easily. TYPO3 CMS currently has CLI support, but no dedicated command tool but only a CLI dispatcher script which not straight forward to use and not nice to extend for developers.

A great step forward for developers is the possibility to register command controllers, but running them also requires calling the cli_dispatcher. Another downside is, that until finally the command controller is reached, the framework jumps through several hoops to finally bootstrap Extbase and run the requested command.

The goal of this project is to provide a clean API to register commands (using Extbase Command Controllers) and providing a sane way to call the commands through a single command line tool called "typo3cms"


Instead of typing

./typo3/cli_dispatch.phpsh extbase extension:install realurl

just type:

typo3cms extension:activate realurl

Notice that the location of typo3cms depends on your installation type, see Installation below.


  • Command line tool
  • TYPO3 installation from command line
  • Flexible bootstrap for commands (not every command needs a fully bootstrapped framework)
  • Reliable cache flush commands
  • Scheduler command
  • Backend lock/unlock commands
  • Reference Index commands
  • Many commands useful for deployment
  • Support for all other Extbase command controllers


Installation using Composer

The recommended way to install TYPO3 Console is by using Composer. In your Composer based TYPO3 project root, just do composer require helhum/typo3-console. The typo3cms binary will be installed by Composer in the specified bin-dir (by default vendor/bin). TYPO3 Console is a perfect companion for Composer based, enjoyable TYPO3 projects.

Installation as extension from TYPO3 Extension Repository (TER)

Download and install the extension with the extension manager module. For the extension to work, it must be installed in the typo3conf/ext/ directory not in any other possible extension location. This directory must not be a symlink to another location! The extension manager, will copy the typo3cms command line tool into the installation root directory during activation.

ToDo & Ideas

Look at the Issues for what has been planned to be implemented in the (near) future.

  • … Add ideas to the issues section of this repository where title is prepended with "idea:"