---
title: Control your deployment workflow through the CLI with TYPO3 v11.
url: "https://b13.com/knowledge/new-cli-commands-better-automation-for-continuous-integration"
description: TYPO3 v11 gave the command line interface a boost with new commands. We show you the benefits to installations running in Composer mode.
image: "https://b13.com/fileadmin/_processed_/e/a/csm_CLI-commands_191-1_28410976c8.png"
date: 2022-01-10
modified: 2026-08-19
lastUpdated: 2026-08-19
---

# Control your deployment workflow through the CLI with TYPO3 v11.

[ TYPO3 v11 ](https://b13.com/knowledge/typo3-v11) [ Cache ](https://b13.com/knowledge/cache) [ TYPO3 ](https://b13.com/knowledge/typo3)

 New CLI commands and better automation for Continuous Integration
===================================================================

 TYPO3’s CLI component got a huge boost in TYPO3 v11, especially when in use with Composer Mode and running TYPO3 with a deployment setup.

![](https://b13.com/fileadmin/_processed_/4/b/csm_christian_11897b9042.jpg)Christian “Lolli” Kuhn

  11 January 2022

 [ RSS Feed ](https://b13.com/rss.xml)

  ![A stylized rocket launching from a computer screen, with lines of code displayed on the screen and arrows indicating movement or progress. The background features abstract shapes and dots in a dark color scheme.](https://b13.com/fileadmin/_processed_/3/2/csm_CLI-commands_551cb38219.webp)

TYPO3 can be installed via [Composer](https://getcomposer.org/), PHP’s standard for managing dependencies in a PHP project. With Composer all dependencies and third-party extensions are defined via the “composer.json” file in your TYPO3 project folder. This “Composer Mode” requires some interaction via the Command Line, but is better suited to work with versioning control systems (for example, Git), and deployment setups.

Let’s take a closer look at the improvements in TYPO3 version 11 for such setups.

  This post is part of our TYPO3 Version 11 Series. We’re shining a spotlight on some of the really useful features in version 11 and why you should upgrade.

- [Link Sharing in TYPO3 v11](https://b13.com/knowledge/link-sharing-in-typo3-v11)
- [Direct Downloads of Assets and Media](https://b13.com/knowledge/direct-downloads-assets-and-media)
- **[New CLI commands and better automation for Continuous Integration](https://b13.com/knowledge/new-cli-commands-better-automation-for-continuous-integration)**
- [Resizable Navigation Area in TYPO3](https://b13.com/knowledge/resizable-navigation-area-in-typo3)
- [Multi-factor authentication ](https://b13.com/knowledge/multi-factor-authentication-in-typo3-11)
- [Search & Filter for Folders and Assets](https://b13.com/knowledge/search-filter-for-folders-and-assets)
- [Limit allowed attempts for logins in TYPO3 v11 ](https://b13.com/knowledge/limit-allowed-attempts-for-logins-in-typo3-v11)
- [Show Columns Selector in List View and File List View](https://b13.com/knowledge/show-columns-selector-in-list-view-and-file-list-view)
- [Multi Record Selection](https://b13.com/knowledge/multi-record-selection)
- [Keyboard Navigation for Module Menu & Context Menu](https://b13.com/knowledge/keyboard-navigation-for-module-menu-context-menu)
- [Workspaces Improvements](https://b13.com/blog/workspaces-improvements)
- [Consistent UX makes selecting items more intuitive](https://b13.com/knowledge/consistent-ux-makes-selecting-items-more-intuitive)
- [New TCA types in TYPO3 version 11](https://b13.com/knowledge/new-tca-types-in-typo3-version-11)

   PackageStates.php is no longer evaluated
------------------------------------------

The `PackageStates.php` file is now history, at least for Composer-based TYPO3 installations. TYPO3 itself is built with extensions, and TYPO3 Core ships with 36 system extensions as of TYPO3 v11. Not all of them are required, so via Composer you can require—and thus load—only those extensions that you need for your website. For example, if you don’t need TYPO3’s “indexed search” because you’re using the [Solr extension](https://extensions.typo3.org/extension/solr), then your code base is much smaller. Less code is always a good thing for maintainability and security.

For non-system extensions, TYPO3 has always checked the `typo3conf/ext/` folder for third-party extensions. The ones that are “active” (that is, recognized by TYPO3’s internal configuration management) are listed in the `PackageStates.php` file. In the past, we’ve been using Helmut Hummel’s great [TYPO3 Console extension](https://extensions.typo3.org/extension/typo3_console) to create the PackageStates.php file on each Composer command as a custom script.

In TYPO3 v11, all of the required extensions of TYPO3 Core, and third-party extensions defined in composer.json, are always active. This is a convenient way to move closer toward Composer’s native concepts: that is, if you require a package, it’s active. If you don’t need it, just remove it via Composer.

Upgrade to TYPO3 version 11, and the PackageStates file will never again be evaluated in Composer Mode. If you’ve already worked with the best practice in Composer—to have all required extensions active at any time—then you’re already prepared for TYPO3 v11.

   Ready to upgrade your TYPO3 site?
-----------------------------------

 [ Let’s connect ](https://b13.com/lets-connect)

   CLI Command extension:setup
-----------------------------

When activating an extension for the first time in TYPO3 via the Extension Manager, a few other interactions happen under the hood: Necessary database tables are created or extended, TYPO3’s caches are flushed, and if configured, some database imports happen.

This can now be executed by using the new CLI command `extension:setup`, which should be executed on the target system (e.g. production or staging environment) via `vendor/bin/typo3 extension:setup`. The last part is important to ensure that the actual database connection is used, and not a testing database. Re-running the command multiple times, for example, at each deployment, is no problem for TYPO3 v11.

   Flushing and warming the caches
---------------------------------

Helmut Hummel’s [TYPO3 Console extension](https://extensions.typo3.org/extension/typo3_console), which has pioneered TYPO3’s CLI functionality over the past 7 years, has had the important `cache:flush` command from almost the beginning. This command is especially important to use when a deployment on production has happened, to ensure new configuration is loaded. TYPO3 v11 ships the `cache:flush` command directly, with the possibility to only flush the caches for a specific cache group, such as the system-related caches.

Once the caches have been flushed, the next hit in TYPO3 backend or frontend takes a while in order to re-build the caches such as the Dependency-Injection Cache, or the Rootline Cache. Over the past versions, TYPO3’s cache handling system has improved, so TYPO3 v11 now ships with a `cache:warmup` which automatically loads the configuration of all extensions, making the next hit on the browser instantly fast again. And your editors won’t even notice a deployment.

Both commands are meant to be used on the target system—right after a deployment—and not on a CI server.

   Curious on how to adapt your CI pipeline with TYPO3 v11?
----------------------------------------------------------

We’re happy to chat and support you while upgrading to TYPO3 v11.

 [ Let’s connect ](https://b13.com/lets-connect)

  ###  Written by:

 ![Bild von Christian Kuhn](https://b13.com/fileadmin/_processed_/4/b/csm_christian_ea7340bb0c.webp)

Christian’s contributions have been a major part of making TYPO3 what it is today. At b13, he is a full-time core developer, making our favorite CMS even better for us and everyone who uses it. His essential tool: PhpStorm, Terminal

 Christian “Lolli” Kuhn  Development

 [ more from Christian “Lolli” Kuhn ](https://b13.com/team/christian-kuhn)

  Related Articles
------------------

- ![Cartoon trophy character surrounded by hands giving thumbs up and a heart gesture, set against a gear-patterned background.](https://b13.com/fileadmin/_processed_/f/7/csm_T3ppy_Design_Kit_Headerbild_b51eb9dc31.webp)

    ###  T3ppy Gives TYPO3 a Friendly Face

     06 August 2026 | Florian “Flix” Keitgen

     TYPO3 is powerful—but it doesn’t have to feel impersonal. Meet T3ppy, our friendly companion for the backend.

     [ Read more: T3ppy Gives TYPO3 a Friendly Face ](https://b13.com/knowledge/t3ppy-design-kit)
- ![Gavel labeled "AI" on a circuit-patterned background with yellow stars, symbolizing regulation or legislation related to artificial intelligence in the EU.](https://b13.com/fileadmin/_processed_/1/0/csm_EUAIAct_Headerbild_510724b3de.webp)

    ###  AI Content in TYPO3: Labelling Needs Accountability

     02 August 2026 | Benni Mack

     The EU AI Act brings the origins of AI-generated content into focus. AI Label marks AI-generated and AI-edited content in TYPO3 and records who signed off the published version—for…

     [ Read more: AI Content in TYPO3: Labelling Needs Accountability ](https://b13.com/knowledge/ai-content-in-typo3-labelling-needs-accountability)
- ![A series of stylized figures in various poses, each with a distinctive orange hat, depict a progression from walking to standing still while looking at a phone, set against a purple grid background.](https://b13.com/fileadmin/_processed_/d/7/csm_QueuesDDEV_Headerbild_f640931350.webp)

    ###  Better scalability with decoupled queues: How to set up RabbitMQ with TYPO3

     10 April 2024 | Jochen Roth

     When built-in message transports hit their limits, RabbitMQ can provide TYPO3 with a scalable, robust message queue.

     [ Read more: Better scalability with decoupled queues: How to set up RabbitMQ with TYPO3 ](https://b13.com/knowledge/better-scalability-with-decoupled-queues-how-to-set-up-rabbitmq-with-typo3)
- ![A cartoon character resembling a shield gives a thumbs up in front of a computer interface with various menu options.](https://b13.com/fileadmin/_processed_/e/6/csm_Header_cda1f80173.webp)

    ###  Meet T3ppy: A New Era for Editorial Work in TYPO3

     01 April 2026 | Florian “Flix” Keitgen

     T3ppy and the AiM extension bring AI directly into the TYPO3 backend—enhancing SEO, content quality, and workflows with centralized control.

     [ Read more: Meet T3ppy: A New Era for Editorial Work in TYPO3 ](https://b13.com/knowledge/meet-t3ppy-a-new-era-for-editorial-work-in-typo3)
- ![Retro microphone illustration with a shopping cart icon in the background, symbolizing e-commerce or online shopping.](https://b13.com/fileadmin/_processed_/f/8/csm_Marketplace_Headerbild_ee1575614c.webp)

    ###  Why TYPO3 Needs a Marketplace for Products

     25 March 2026 | Florian “Flix” Keitgen

     A marketplace would make TYPO3 products more discoverable, easier to compare, and benefit both agencies and clients alike.

     [ Read more: Why TYPO3 Needs a Marketplace for Products ](https://b13.com/knowledge/why-typo3-needs-a-marketplace-for-products)
- ![A hand holding a magnifying glass over a laptop screen displaying a webpage with an image and text elements.](https://b13.com/fileadmin/_processed_/e/5/csm_BackendUserSection_Headerbild_6093c842fd.webp)

    ###  Unlocking TYPO3’s Hidden Gem: The Backend User Section (Doktype 6)

     05 March 2026 | David Steeb

     Discover TYPO3’s underrated doktype 6 (Backend User Section) for secure internal previews, editor training, and prototyping. Learn real use cases, common pitfalls like 403 errors…

     [ Read more: Unlocking TYPO3’s Hidden Gem: The Backend User Section (Doktype 6) ](https://b13.com/knowledge/backend-user-section-in-typo3-uses-pitfalls-helper)
- ![Two stylized web page designs featuring a user profile, image placeholders, and text sections, set against a light blue background.](https://b13.com/fileadmin/_processed_/2/0/csm_BackendPreview_Headerbild_b4c5799cfa.webp)

    ###  Backend Previews With a System—Why We Built EXT:backendpreviews

     09 February 2026 | David Steeb

     EXT:backendpreviews brings structure and consistency to content previews in the TYPO3 backend using Fluid templates, layouts, and partials.

     [ Read more: Backend Previews With a System—Why We Built EXT:backendpreviews ](https://b13.com/knowledge/backend-previews-with-a-system-why-we-built-extbackendpreviews)
- ![A human hand shakes a robotic hand against a purple background with heart patterns, symbolizing collaboration between humans and technology.](https://b13.com/fileadmin/_processed_/6/2/csm_AIbotsLoveMarkdown_Headerbild_72fe5820d6.webp)

    ###  The Internet Is No Longer Just for Humans—AI Bots Love Markdown

     28 January 2026 | Benni Mack

     Discover why most web traffic is now automated and how TYPO3’s structured content model prepares websites for humans, editors, and AI systems.

     [ Read more: The Internet Is No Longer Just for Humans—AI Bots Love Markdown ](https://b13.com/knowledge/the-internet-is-no-longer-just-for-humans-ai-bots-love-markdown)
- ![Several colorful web page mockups stacked together, showcasing different layouts and design elements against a purple background.](https://b13.com/fileadmin/_processed_/e/3/csm_CaminoTheme_Headerbild_d082598009.webp)

    ###  Camino—The Need for a Default Theme in TYPO3 Is Real

     27 January 2026 | Benni Mack

     With TYPO3 v14, Camino introduces a default theme that removes friction from first installs. Why this matters—and how TYPO3 laid the groundwork.

     [ Read more: Camino—The Need for a Default Theme in TYPO3 Is Real ](https://b13.com/core-insights/blog/camino-the-need-for-a-default-theme-in-typo3-is-real)
- ![Graphic featuring stylized representations of a tower with the text "T3CON25 Düsseldorf" prominently displayed in the center.](https://b13.com/fileadmin/_processed_/7/b/csm_T3CON2025_Headerbild_fc9c5cc53e.webp)

    ###  T3CON25—One Step Closer to the Future of Content Management

     10 December 2025 | Franzi Töpler

     T3CON25 showcased the future of TYPO3 with insights on TYPO3 v14, AI, digital sovereignty, and open-source solutions driving secure, modern web experiences.

     [ Read more: T3CON25—One Step Closer to the Future of Content Management ](https://b13.com/knowledge/shaping-the-future-of-content-management-t3con25)