List of TYPO3 console commands

By default TYPO3 ships the listed console commands, depending on which system extensions are installed.

Third party extensions can define custom console commands.

The extension helhum/typo3-console ships many commands to execute TYPO3 actions, which otherwise would only be accessible via the TYPO3 backend.

This page assumes that the code is run on a Composer based installation with default binaries location. Here you can read how to run them in general and on legacy installations: Run a command from the command line.

List all TYPO3 console commands

Command Description
global
 
vendor/bin/typo3 completion
Dump the shell completion script
vendor/bin/typo3 help
Display help for a command
vendor/bin/typo3 list
List commands
vendor/bin/typo3 setup
Setup TYPO3 via CLI using environment variables, CLI options or interactive
backend
 
vendor/bin/typo3 backend:lock
Lock the TYPO3 Backend
vendor/bin/typo3 backend:resetpassword
Trigger a password reset for a backend user
vendor/bin/typo3 backend:unlock
Unlock the TYPO3 Backend
vendor/bin/typo3 backend:user:create
Create a backend user
cache
 
vendor/bin/typo3 cache:flush
Flush TYPO3 caches.
vendor/bin/typo3 cache:warmup
Warmup TYPO3 caches.
cleanup
 
vendor/bin/typo3 cleanup:deletedrecords
Permanently deletes all records marked as "deleted" in the database.
vendor/bin/typo3 cleanup:flexforms
Clean up database FlexForm fields that do not match the chosen data structure.
vendor/bin/typo3 cleanup:localprocessedfiles
Delete processed files and their database records.
vendor/bin/typo3 cleanup:missingrelations
Find all record references pointing to a non-existing record
vendor/bin/typo3 cleanup:orphanrecords
Find and delete records that have lost their connection with the page tree.
vendor/bin/typo3 cleanup:previewlinks
Find all versioned records and possibly cleans up invalid records in the database.
vendor/bin/typo3 cleanup:versions
Find all versioned records and possibly cleans up invalid records in the database.
extension
 
vendor/bin/typo3 extension:list
Shows the list of extensions available to the system
vendor/bin/typo3 extension:setup
Set up extensions
fluid
 
vendor/bin/typo3 fluid:schema:generate
Generate XSD schema files for all available ViewHelpers in var/transient/
impexp
 
vendor/bin/typo3 impexp:export
Exports a T3D / XML file with content of a page tree
vendor/bin/typo3 impexp:import
Imports a T3D / XML file with content into a page tree
language
 
vendor/bin/typo3 language:update
Update the language files of all activated extensions
lint
 
vendor/bin/typo3 lint:yaml
Lint a YAML file and outputs encountered errors
mailer
 
vendor/bin/typo3 mailer:spool:send
Sends emails from the spool
messenger
 
vendor/bin/typo3 messenger:consume
Consume messages
redirects
 
vendor/bin/typo3 redirects:checkintegrity
Check integrity of redirects
vendor/bin/typo3 redirects:cleanup
Cleanup old redirects periodically for given constraints like days, hit count or domains.
referenceindex
 
vendor/bin/typo3 referenceindex:update
Update the reference index of TYPO3
scheduler
 
vendor/bin/typo3 scheduler:execute
Execute given Scheduler tasks.
vendor/bin/typo3 scheduler:list
List all Scheduler tasks.
vendor/bin/typo3 scheduler:run
Start the TYPO3 Scheduler from the command line.
setup
 
vendor/bin/typo3 setup:begroups:default
Setup default backend user groups
site
 
vendor/bin/typo3 site:list
Shows the list of sites available to the system
vendor/bin/typo3 site:sets:list
Shows the list of available site sets
vendor/bin/typo3 site:show
Shows the configuration of the specified site
syslog
 
vendor/bin/typo3 syslog:list
Show entries from the sys_log database table of the last 24 hours.
upgrade
 
vendor/bin/typo3 upgrade:list
List available upgrade wizards.
vendor/bin/typo3 upgrade:mark:undone
Mark upgrade wizard as undone.
vendor/bin/typo3 upgrade:run
Run upgrade wizard. Without arguments all available wizards will be run.
workspace
 
vendor/bin/typo3 workspace:autopublish
Publish a workspace with a publication date.

vendor/bin/typo3 completion

vendor/bin/typo3 completion Back to list
Dump the shell completion script
Usage
vendor/bin/typo3 completion [--debug] [--] [<shell>]
Copied!
Arguments

shell

shell
The shell type (e.g. "bash"), the value of the "$SHELL" env var will be used if this is not given
Options

--debug

--debug
Tail the completion debug log
Value
None allowed
Default value
false
Help

The completion command dumps the shell completion script required to use shell autocompletion (currently, bash, fish, zsh completion are supported).

Static installation

Dump the script to a global completion file and restart your shell:

vendor/vendor/bin/typo3 completion  | sudo tee /etc/bash_completion.d/typo3
Copied!

Or dump the script to a local file and source it:

vendor/vendor/bin/typo3 completion  > completion.sh

# source the file whenever you use the project
source completion.sh

# or add this line at the end of your "~/.bashrc" file:
source /path/to/completion.sh
Copied!
Dynamic installation

Add this to the end of your shell configuration file (e.g. "~/.bashrc"):

eval "$(/var/www/html/vendor/vendor/bin/typo3 completion )"
Copied!

vendor/bin/typo3 help

vendor/bin/typo3 help Back to list
Display help for a command
Usage
vendor/bin/typo3 help [--format FORMAT] [--raw] [--] [<command_name>]
Copied!
Arguments

command_name

command_name
The command name
Options

--format

--format
The output format (txt, xml, json, or md)
Value
Required
Default value
"txt"

--raw

--raw
To output raw command help
Value
None allowed
Default value
false
Help

The help command displays help for a given command:

vendor/vendor/bin/typo3 help list
Copied!

You can also output the help in other formats by using the --format option:

vendor/vendor/bin/typo3 help --format=xml list
Copied!

To display the list of available commands, please use the list command.

vendor/bin/typo3 list

vendor/bin/typo3 list Back to list
List commands
Usage
vendor/bin/typo3 list [--raw] [--format FORMAT] [--short] [--] [<namespace>]
Copied!
Arguments

namespace

namespace
The namespace name
Options

--raw

--raw
To output raw command list
Value
None allowed
Default value
false

--format

--format
The output format (txt, xml, json, or md)
Value
Required
Default value
"txt"

--short

--short
To skip describing commands' arguments
Value
None allowed
Default value
false
Help

The list command lists all commands:

vendor/vendor/bin/typo3 list
Copied!

You can also display the commands for a specific namespace:

vendor/vendor/bin/typo3 list test
Copied!

You can also output the information in other formats by using the --format option:

vendor/vendor/bin/typo3 list --format=xml
Copied!

It's also possible to get raw list of commands (useful for embedding command runner):

vendor/vendor/bin/typo3 list --raw
Copied!

vendor/bin/typo3 setup

vendor/bin/typo3 setup Back to list
Setup TYPO3 via CLI using environment variables, CLI options or interactive
Usage
vendor/bin/typo3 setup [--driver [DRIVER]] [--host HOST] [--port [PORT]] [--dbname DBNAME] [--username USERNAME] [--password PASSWORD] [--admin-username [ADMIN-USERNAME]] [--admin-user-password ADMIN-USER-PASSWORD] [--admin-email ADMIN-EMAIL] [--project-name PROJECT-NAME] [--create-site [CREATE-SITE]] [--server-type [SERVER-TYPE]] [--force] [-n|--no-interaction]
Copied!
Options

--driver

--driver
Select which database driver to use
Value
Optional

--host

--host
Set the database host to use
Value
Required
Default value
"db"

--port

--port
Set the database port to use
Value
Optional
Default value
"3306"

--dbname

--dbname
Set the database name to use
Value
Required
Default value
"db"

--username

--username
Set the database username to use
Value
Required
Default value
"db"

--password

--password
Set the database password to use
Value
Required

--admin-username

--admin-username
Set a username
Value
Optional
Default value
"admin"

--admin-user-password

--admin-user-password
Set users password
Value
Required

--admin-email

--admin-email
Set users email
Value
Required
Default value
""

--project-name

--project-name
Set the TYPO3 project name
Value
Required
Default value
"New TYPO3 Project"

--create-site

--create-site
Create a basic site setup (root page and site configuration) with the given domain
Value
Optional
Default value
false

--server-type

--server-type
Define the web server the TYPO3 installation will be running on
Value
Optional
Default value
"other"

--force

--force
Force settings overwrite - use this if TYPO3 has been installed already
Value
None allowed
Default value
false
Help
The command offers 3 ways to setup TYPO3:
  1. environment variables
  2. commandline options
  3. interactive guided walk-through

All values are validated no matter where it was set. If a value is missing, the user will be asked for it.

Setup using environment variables

TYPO3_DB_DRIVER=mysqli \
TYPO3_DB_USERNAME=db \
TYPO3_DB_PORT=3306 \
TYPO3_DB_HOST=db \
TYPO3_DB_DBNAME=db \
TYPO3_SETUP_ADMIN_EMAIL=admin@example.com \
TYPO3_SETUP_ADMIN_USERNAME=admin \
TYPO3_SETUP_CREATE_SITE="https://your-typo3-site.com/" \
TYPO3_PROJECT_NAME="Automated Setup" \
TYPO3_SERVER_TYPE="apache" \
./vendor/bin/typo3 setup --force

Copied!

vendor/bin/typo3 backend:lock

vendor/bin/typo3 backend:lock Back to list
Lock the TYPO3 Backend
Usage
vendor/bin/typo3 backend:lock [<redirect>]
Copied!
Arguments

redirect

redirect
If set, a locked TYPO3 Backend will redirect to URI specified with this argument. The URI is saved as a string in the lockfile that is specified in the system configuration.
Help

Lock the TYPO3 Backend

vendor/bin/typo3 backend:resetpassword

vendor/bin/typo3 backend:resetpassword Back to list
Trigger a password reset for a backend user
Usage
vendor/bin/typo3 backend:resetpassword <backendurl> <email>
Copied!
Arguments

backendurl

backendurl
The URL of the TYPO3 Backend, e.g. https://www.example.com/typo3/

email

email
The email address of a valid backend user
Help

Trigger a password reset for a backend user

vendor/bin/typo3 backend:unlock

vendor/bin/typo3 backend:unlock Back to list
Unlock the TYPO3 Backend
Usage
vendor/bin/typo3 backend:unlock
Copied!
Help

Unlock the TYPO3 Backend

vendor/bin/typo3 backend:user:create

vendor/bin/typo3 backend:user:create Back to list
Create a backend user
Usage
vendor/bin/typo3 backend:user:create [-u|--username USERNAME] [-p|--password PASSWORD] [-e|--email EMAIL] [-g|--groups GROUPS] [-a|--admin] [-m|--maintainer]
Copied!
Options

--username

--username / -u
The username of the backend user
Value
Required

--password

--password / -p
The password of the backend user. See security note below.
Value
Required

--email

--email / -e
The email address of the backend user
Value
Required
Default value
""

--groups

--groups / -g
Assign given groups to the user
Value
Required

--admin

--admin / -a
Create user with admin privileges
Value
None allowed
Default value
false

--maintainer

--maintainer / -m
Create user with maintainer privileges
Value
None allowed
Default value
false
Help

Create a backend user using environment variables

Example:

TYPO3_BE_USER_NAME=username \
TYPO3_BE_USER_EMAIL=admin@example.com \
TYPO3_BE_USER_GROUPS=<comma-separated-list-of-group-ids> \
TYPO3_BE_USER_ADMIN=0 \
TYPO3_BE_USER_MAINTAINER=0 \
./vendor/bin/typo3 backend:user:create --no-interaction
Copied!

vendor/bin/typo3 cache:flush

vendor/bin/typo3 cache:flush Back to list
Flush TYPO3 caches.
Usage
vendor/bin/typo3 cache:flush [-g|--group [GROUP]]
Copied!
Options

--group

--group / -g
The cache group to flush (system, pages, di or all)
Value
Optional
Default value
"all"
Help

This command can be used to clear the caches, for example after code updates in local development and after deployments.

vendor/bin/typo3 cache:warmup

vendor/bin/typo3 cache:warmup Back to list
Warmup TYPO3 caches.
Usage
vendor/bin/typo3 cache:warmup [-g|--group [GROUP]]
Copied!
Options

--group

--group / -g
The cache group to warmup (system, pages, di or all)
Value
Optional
Default value
"all"
Help

This command is useful for deployments to warmup caches during release preparation.

vendor/bin/typo3 cleanup:deletedrecords

vendor/bin/typo3 cleanup:deletedrecords Back to list
Permanently deletes all records marked as "deleted" in the database.
Usage
vendor/bin/typo3 cleanup:deletedrecords [-p|--pid PID] [-d|--depth DEPTH] [--dry-run] [-m|--min-age MIN-AGE]
Copied!
Options

--pid

--pid / -p
Setting start page in page tree. Default is the page tree root, 0 (zero)
Value
Required

--depth

--depth / -d
Setting traversal depth. 0 (zero) will only analyze start page (see --pid), 1 will traverse one level of subpages etc.
Value
Required

--dry-run

--dry-run
If this option is set, the records will not actually be deleted, but just the output which records would be deleted are shown
Value
None allowed
Default value
false

--min-age

--min-age / -m
Minimum age in days records need to be marked for deletion before actual deletion
Value
Required
Default value
0
Help

Traverse page tree and find and flush deleted records. If you want to get more detailed information, use the --verbose option.

vendor/bin/typo3 cleanup:flexforms

vendor/bin/typo3 cleanup:flexforms Back to list
Clean up database FlexForm fields that do not match the chosen data structure.
Usage
vendor/bin/typo3 cleanup:flexforms [--dry-run]
Copied!
Options

--dry-run

--dry-run
If this option is set, the records will not be updated, but only show the output which records would have been updated.
Value
None allowed
Default value
false
Help

Clean up records with dirty FlexForm values not reflected in current data structure.

vendor/bin/typo3 cleanup:localprocessedfiles

vendor/bin/typo3 cleanup:localprocessedfiles Back to list
Delete processed files and their database records.
Usage
vendor/bin/typo3 cleanup:localprocessedfiles [--dry-run] [--all] [-f|--force]
Copied!
Options

--dry-run

--dry-run
If set, the records and files which would be deleted are displayed.
Value
None allowed
Default value
false

--all

--all
If set, ALL processed-file (driver=Local) records will be removed, also those without identifier ("stubs" for unprocessed files) and existing files.
Value
None allowed
Default value
false

--force

--force / -f
Force cleanup. When set the confirmation question will be skipped. When using --no-interaction, --force will be set automatically.
Value
None allowed
Default value
false
Help

If you want to get more detailed information, use the --verbose option.

vendor/bin/typo3 cleanup:missingrelations

vendor/bin/typo3 cleanup:missingrelations Back to list
Find all record references pointing to a non-existing record
Usage
vendor/bin/typo3 cleanup:missingrelations [--dry-run] [--update-refindex]
Copied!
Options

--dry-run

--dry-run
If this option is set, the references will not be removed, but just the output which references would be deleted are shown
Value
None allowed
Default value
false

--update-refindex

--update-refindex
Setting this option automatically updates the reference index and does not ask on command line. Alternatively, use -n to avoid the interactive mode
Value
None allowed
Default value
false
Help

Assumptions: - a perfect integrity of the reference index table (always update the reference index table before using this tool!) - all database references to check are integers greater than zero - does not check if a referenced record is inside an offline branch, another workspace etc. which could make the reference useless in reality or otherwise question integrity Records may be missing for these reasons (except software bugs): - someone deleted the record which is technically not an error although it might be a mistake that someone did so. - after flushing published versions and/or deleted-flagged records a number of new missing references might appear; those were pointing to records just flushed.

An automatic repair is only possible for managed references are (not for soft references), for offline versions records and non-existing records. If you just want to list them, use the --dry-run option. The references in this case are removed.

If the option "--dry-run" is not set, all managed files (TCA/FlexForm attachments) will silently remove the references to non-existing and offline version records. All soft references with relations to non-existing records, offline versions and deleted records require manual fix if you consider it an error.

Manual repair suggestions: - For soft references you should investigate each case and edit the content accordingly. - References to deleted records can theoretically be removed since a deleted record cannot be selected and hence your website should not be affected by removal of the reference. On the other hand it does not hurt to ignore it for now. To have this automatically fixed you must first flush the deleted records after which remaining references will appear as pointing to Non Existing Records and can now be removed with the automatic fix.

If you want to get more detailed information, use the --verbose option.

vendor/bin/typo3 cleanup:orphanrecords

vendor/bin/typo3 cleanup:orphanrecords Back to list
Find and delete records that have lost their connection with the page tree.
Usage
vendor/bin/typo3 cleanup:orphanrecords [--dry-run]
Copied!
Options

--dry-run

--dry-run
If this option is set, the records will not actually be deleted, but just the output which records would be deleted are shown
Value
None allowed
Default value
false
Help

Assumption: All actively used records on the website from TCA configured tables are located in the page tree exclusively.

All records managed by TYPO3 via the TCA array configuration has to belong to a page in the page tree, either directly or indirectly as a version of another record. VERY TIME, CPU and MEMORY intensive operation since the full page tree is looked up!

Automatic Repair of Errors: - Silently deleting the orphaned records. In theory they should not be used anywhere in the system, but there could be references. See below for more details on this matter.

Manual repair suggestions: - Possibly re-connect orphaned records to page tree by setting their "pid" field to a valid page id. A lookup in the sys_refindex table can reveal if there are references to an orphaned record. If there are such references (from records that are not themselves orphans) you might consider to re-connect the record to the page tree, otherwise it should be safe to delete it.

If you want to get more detailed information, use the --verbose option.

vendor/bin/typo3 cleanup:previewlinks

Find all versioned records and possibly cleans up invalid records in the database.
Usage
vendor/bin/typo3 cleanup:previewlinks
Copied!
Help

Look for preview links within the database table "sys_preview" that have been expired and and remove them. This command should be called regularly when working with workspaces.

vendor/bin/typo3 cleanup:versions

vendor/bin/typo3 cleanup:versions Back to list
Find all versioned records and possibly cleans up invalid records in the database.
Usage
vendor/bin/typo3 cleanup:versions [-p|--pid PID] [-d|--depth DEPTH] [--dry-run] [--action [ACTION]]
Copied!
Options

--pid

--pid / -p
Setting start page in page tree. Default is the page tree root, 0 (zero)
Value
Required

--depth

--depth / -d
Setting traversal depth. 0 (zero) will only analyze start page (see --pid), 1 will traverse one level of subpages etc.
Value
Required

--dry-run

--dry-run
If this option is set, the records will not actually be deleted/modified, but just the output which records would be touched are shown
Value
None allowed
Default value
false

--action

--action
Specify which action should be taken. Set it to "versions_in_live", "published_versions" or "invalid_workspace"
Value
Optional
Help

Traverse page tree and find versioned records. Also list all versioned records, additionally with some inconsistencies in the database, which can cleaned up with the "action" option. If you want to get more detailed information, use the --verbose option.

vendor/bin/typo3 extension:list

vendor/bin/typo3 extension:list Back to list
Shows the list of extensions available to the system
Usage
vendor/bin/typo3 extension:list [-a|--all] [-i|--inactive]
Copied!
Options

--all

--all / -a
Also display currently inactive/uninstalled extensions.
Value
None allowed
Default value
false

--inactive

--inactive / -i
Only show inactive/uninstalled extensions available for installation.
Value
None allowed
Default value
false
Help

Shows the list of extensions available to the system

vendor/bin/typo3 extension:setup

vendor/bin/typo3 extension:setup Back to list
Set up extensions
Usage
vendor/bin/typo3 extension:setup [-e|--extension EXTENSION]
Copied!
Options

--extension

--extension / -e
Only set up extensions with given key
Value
Required (multiple)
Default value
[]
Help

Setup all extensions or the given extension by extension key. This must be performed after new extensions are required via Composer.

The command performs all necessary setup operations, such as database schema changes, static data import, distribution files import etc.

The given extension keys must be recognized by TYPO3 or will be ignored.

vendor/bin/typo3 fluid:schema:generate

vendor/bin/typo3 fluid:schema:generate Back to list
Generate XSD schema files for all available ViewHelpers in var/transient/
Usage
vendor/bin/typo3 fluid:schema:generate
Copied!
Help

Generate XSD schema files for all available ViewHelpers in var/transient/

vendor/bin/typo3 impexp:export

vendor/bin/typo3 impexp:export Back to list
Exports a T3D / XML file with content of a page tree
Usage
vendor/bin/typo3 impexp:export [--type [TYPE]] [--pid [PID]] [--levels [LEVELS]] [--table [TABLE]] [--record [RECORD]] [--list [LIST]] [--include-related [INCLUDE-RELATED]] [--include-static [INCLUDE-STATIC]] [--exclude [EXCLUDE]] [--exclude-disabled-records] [--exclude-html-css] [--title [TITLE]] [--description [DESCRIPTION]] [--notes [NOTES]] [--dependency [DEPENDENCY]] [--save-files-outside-export-file] [--] [<filename>]
Copied!
Arguments

filename

filename
The filename to export to (without file extension).
Options

--type

--type
The file type (xml, t3d, t3d_compressed).
Value
Optional
Default value
"xml"

--pid

--pid
The root page of the exported page tree.
Value
Optional
Default value
-1

--levels

--levels
The depth of the exported page tree. "-2": "Records on this page", "0": "This page", "1": "1 level down", .. "999": "Infinite levels".
Value
Optional
Default value
0

--table

--table
Include all records of this table. Examples: "_ALL", "tt_content", "sys_file_reference", etc.
Value
Optional (multiple)
Default value
[]

--record

--record
Include this specific record. Pattern is "{table}:{record}". Examples: "tt_content:12", etc.
Value
Optional (multiple)
Default value
[]

--list

--list
Include the records of this table and this page. Pattern is "{table}:{pid}". Examples: "be_users:0", etc.
Value
Optional (multiple)
Default value
[]

--include-related

Include record relations to this table, including the related record. Examples: "_ALL", "sys_category", etc.
Value
Optional (multiple)
Default value
[]

--include-static

--include-static
Include record relations to this table, excluding the related record. Examples: "_ALL", "be_users", etc.
Value
Optional (multiple)
Default value
[]

--exclude

--exclude
Exclude this specific record. Pattern is "{table}:{record}". Examples: "fe_users:3", etc.
Value
Optional (multiple)
Default value
[]

--exclude-disabled-records

--exclude-disabled-records
Exclude records which are handled as disabled by their TCA configuration, e.g. by fields "disabled", "starttime" or "endtime".
Value
None allowed
Default value
false

--exclude-html-css

--exclude-html-css
Exclude referenced HTML and CSS files.
Value
None allowed
Default value
false

--title

--title
The meta title of the export.
Value
Optional

--description

--description
The meta description of the export.
Value
Optional

--notes

--notes
The meta notes of the export.
Value
Optional

--dependency

--dependency
This TYPO3 extension is required for the exported records. Examples: "news", "powermail", etc.
Value
Optional (multiple)
Default value
[]

--save-files-outside-export-file

--save-files-outside-export-file
Save files into separate folder instead of including them into the common export file. Folder name pattern is "{filename}.files".
Value
None allowed
Default value
false
Help

Exports a T3D / XML file with content of a page tree

vendor/bin/typo3 impexp:import

vendor/bin/typo3 impexp:import Back to list
Imports a T3D / XML file with content into a page tree
Usage
vendor/bin/typo3 impexp:import [--update-records] [--ignore-pid] [--force-uid] [--import-mode [IMPORT-MODE]] [--enable-log] [--] <file> [<pid>]
Copied!
Arguments

file

file
The file path to import from (.t3d or .xml).

pid

pid
The page to import to.
Options

--update-records

--update-records
If set, existing records with the same UID will be updated instead of inserted.
Value
None allowed
Default value
false

--ignore-pid

--ignore-pid
If set, page IDs of updated records are not corrected (only works in conjunction with --update-records).
Value
None allowed
Default value
false

--force-uid

--force-uid
If set, UIDs from file will be forced.
Value
None allowed
Default value
false

--import-mode

--import-mode
Set the import mode of this specific record. Pattern is "{table}:{record}={mode}". Available modes for new records are "force_uid" and "exclude" and for existing records "as_new", "ignore_pid", "respect_pid" and "exclude". Examples are "pages:987=force_uid", "tt_content:1=as_new", etc.
Value
Optional (multiple)
Default value
[]

--enable-log

--enable-log
If set, all database actions are logged.
Value
None allowed
Default value
false
Help

Imports a T3D / XML file with content into a page tree

vendor/bin/typo3 language:update

vendor/bin/typo3 language:update Back to list
Update the language files of all activated extensions
Usage
vendor/bin/typo3 language:update [--no-progress] [--fail-on-warnings] [--skip-extension SKIP-EXTENSION] [--] [<locales>...]
Copied!
Arguments

locales

locales
Provide iso codes separated by space to update only selected language packs. Example `bin/typo3 language:update de ja`.
Options

--no-progress

--no-progress
Disable progress bar.
Value
None allowed
Default value
false

--fail-on-warnings

--fail-on-warnings
Fail command when translation was not found on the server.
Value
None allowed
Default value
false

--skip-extension

--skip-extension
Skip extension. Useful for e.g. for not public extensions, which don't have language packs.
Value
Required (multiple)
Default value
[]
Help

Update the language files of all activated extensions

vendor/bin/typo3 lint:yaml

vendor/bin/typo3 lint:yaml Back to list
Lint a YAML file and outputs encountered errors
Usage
vendor/bin/typo3 lint:yaml [--format FORMAT] [--exclude EXCLUDE] [--parse-tags|--no-parse-tags] [--] [<filename>...]
Copied!
Arguments

filename

filename
A file, a directory or "-" for reading from STDIN
Options

--format

--format
The output format ("txt", "json", "github")
Value
Required

--exclude

--exclude
Path(s) to exclude
Value
Required (multiple)
Default value
[]

--parse-tags

--parse-tags
Parse custom tags
Value
None allowed

--no-parse-tags

--no-parse-tags
Negate the "--parse-tags" option
Value
None allowed
Default value
false
Help

The lint:yaml command lints a YAML file and outputs to STDOUT the first encountered syntax error.

You can validates YAML contents passed from STDIN:

cat filename | php vendor/vendor/bin/typo3 lint:yaml -
Copied!

You can also validate the syntax of a file:

php vendor/vendor/bin/typo3 lint:yaml filename
Copied!

Or of a whole directory:

  php vendor/vendor/bin/typo3 lint:yaml dirname
`php vendor/vendor/bin/typo3 lint:yaml dirname --format=json`
Copied!

You can also exclude one or more specific files:

php vendor/vendor/bin/typo3 lint:yaml dirname --exclude="dirname/foo.yaml" --exclude="dirname/bar.yaml"
Copied!

vendor/bin/typo3 mailer:spool:send

vendor/bin/typo3 mailer:spool:send Back to list
Sends emails from the spool
Usage
vendor/bin/typo3 mailer:spool:send [--message-limit MESSAGE-LIMIT] [--time-limit TIME-LIMIT] [--recover-timeout RECOVER-TIMEOUT]
Copied!
vendor/bin/typo3 swiftmailer:spool:send
Copied!
Options

--message-limit

--message-limit
The maximum number of messages to send.
Value
Required

--time-limit

--time-limit
The time limit for sending messages (in seconds).
Value
Required

--recover-timeout

--recover-timeout
The timeout for recovering messages that have taken too long to send (in seconds).
Value
Required
Help

Sends emails from the spool

vendor/bin/typo3 messenger:consume

vendor/bin/typo3 messenger:consume Back to list
Consume messages
Usage
vendor/bin/typo3 messenger:consume [--sleep SLEEP] [--queues QUEUES] [--exit-code-on-limit EXIT-CODE-ON-LIMIT] [--] [<receivers>...]
Copied!
Arguments

receivers

receivers
Names of the receivers/transports to consume in order of priority
Options

--sleep

--sleep
Seconds to sleep before asking for new messages after no messages were found
Value
Required
Default value
1

--queues

--queues
Limit receivers to only consume from the specified queues
Value
Required (multiple)
Default value
[]

--exit-code-on-limit

--exit-code-on-limit
Exit code when limits are reached
Value
Required
Default value
0
Help

The messenger:consume command consumes messages and dispatches them to the message bus.

php vendor/vendor/bin/typo3 messenger:consume <receiver-name>

To receive from multiple transports, pass each name:

php vendor/vendor/bin/typo3 messenger:consume receiver1 receiver2
Copied!

Use the --queues option to limit a receiver to only certain queues (only supported by some receivers):

php vendor/vendor/bin/typo3 messenger:consume <receiver-name> --queues=fasttrack
Copied!

vendor/bin/typo3 redirects:checkintegrity

vendor/bin/typo3 redirects:checkintegrity Back to list
Check integrity of redirects
Usage
vendor/bin/typo3 redirects:checkintegrity [<site>]
Copied!
Arguments

site

site
If set, then only pages of a specific site are checked
Help

Check integrity of redirects

vendor/bin/typo3 redirects:cleanup

vendor/bin/typo3 redirects:cleanup Back to list
Cleanup old redirects periodically for given constraints like days, hit count or domains.
Usage
vendor/bin/typo3 redirects:cleanup [-d|--domain [DOMAIN]] [-s|--statusCode [STATUSCODE]] [-a|--days [DAYS]] [-c|--hitCount [HITCOUNT]] [-p|--path [PATH]] [-t|--creationType [CREATIONTYPE]] [-i|--integrityStatus [INTEGRITYSTATUS]]
Copied!
Options

--domain

--domain / -d
Cleanup redirects matching provided domain(s)
Value
Optional (multiple)
Default value
[]

--statusCode

--statusCode / -s
Cleanup redirects matching provided status code(s)
Value
Optional (multiple)
Default value
[]

--days

--days / -a
Cleanup redirects older than provided number of days
Value
Optional

--hitCount

--hitCount / -c
Cleanup redirects matching hit counts lower than given number
Value
Optional

--path

--path / -p
Cleanup redirects matching given path (as database like expression)
Value
Optional

--creationType

--creationType / -t
Cleanup redirects matching provided creation type
Value
Optional

--integrityStatus

--integrityStatus / -i
Cleanup redirects matching provided integrity status
Value
Optional
Help

Cleanup old redirects periodically for given constraints like days, hit count or domains.

vendor/bin/typo3 referenceindex:update

vendor/bin/typo3 referenceindex:update Back to list
Update the reference index of TYPO3
Usage
vendor/bin/typo3 referenceindex:update [-c|--check]
Copied!
Options

--check

--check / -c
Only check the reference index of TYPO3
Value
None allowed
Default value
false
Help

Update the reference index of TYPO3

vendor/bin/typo3 scheduler:execute

vendor/bin/typo3 scheduler:execute Back to list
Execute given Scheduler tasks.
Usage
vendor/bin/typo3 scheduler:execute [-t|--task [TASK]]
Copied!
Options

--task

--task / -t
Execute tasks by given id. To run all tasks of a group prefix the group id with "g:", e.g. "g:1"
Value
Optional (multiple)
Default value
[]
Help

Execute given Scheduler tasks.

vendor/bin/typo3 scheduler:list

vendor/bin/typo3 scheduler:list Back to list
List all Scheduler tasks.
Usage
vendor/bin/typo3 scheduler:list [-g|--group [GROUP]] [-w|--watch [WATCH]]
Copied!
Options

--group

--group / -g
Show only groups with given uid
Value
Optional (multiple)
Default value
[]

--watch

--watch / -w
Start watcher mode (polling)
Value
Optional
Help

List all Scheduler tasks.

vendor/bin/typo3 scheduler:run

vendor/bin/typo3 scheduler:run Back to list
Start the TYPO3 Scheduler from the command line.
Usage
vendor/bin/typo3 scheduler:run [-i|--task [TASK]] [-f|--force] [-s|--stop]
Copied!
Options

--task

--task / -i
UID of a specific task. Can be provided multiple times to execute multiple tasks sequentially.
Value
Optional (multiple)
Default value
[]

--force

--force / -f
Force execution of the task which is passed with --task option
Value
None allowed
Default value
false

--stop

--stop / -s
Stop the task which is passed with --task option
Value
None allowed
Default value
false
Help

If no parameter is given, the scheduler executes any tasks that are overdue to run. Call it like this: typo3/sysext/core/vendor/bin/typo3 scheduler:run --task=13 -f

vendor/bin/typo3 setup:begroups:default

vendor/bin/typo3 setup:begroups:default Back to list
Setup default backend user groups
Usage
vendor/bin/typo3 setup:begroups:default [-n|--no-interaction] [-g|--groups [GROUPS]]
Copied!
Options

--groups

--groups / -g
Which backend user groups do you want to create? [ Editor, Advanced Editor, Both, None]
Value
Optional
Default value
"Both"
Help

The command will allow you to create base backend user groups for your TYPO3 installation.

You can create either both or one of the following groups:

  • Editor
  • Advanced Editor

vendor/bin/typo3 site:list

vendor/bin/typo3 site:list Back to list
Shows the list of sites available to the system
Usage
vendor/bin/typo3 site:list
Copied!
Help

Shows the list of sites available to the system

vendor/bin/typo3 site:sets:list

vendor/bin/typo3 site:sets:list Back to list
Shows the list of available site sets
Usage
vendor/bin/typo3 site:sets:list
Copied!
Help

Shows the list of available site sets

vendor/bin/typo3 site:show

vendor/bin/typo3 site:show Back to list
Shows the configuration of the specified site
Usage
vendor/bin/typo3 site:show <identifier>
Copied!
Arguments

identifier

identifier
The identifier of the site
Help

Shows the configuration of the specified site

vendor/bin/typo3 syslog:list

vendor/bin/typo3 syslog:list Back to list
Show entries from the sys_log database table of the last 24 hours.
Usage
vendor/bin/typo3 syslog:list
Copied!
Help

Prints a list of recent sys_log entries. If you want to get more detailed information, use the --verbose option.

vendor/bin/typo3 upgrade:list

vendor/bin/typo3 upgrade:list Back to list
List available upgrade wizards.
Usage
vendor/bin/typo3 upgrade:list [-a|--all]
Copied!
Options

--all

--all / -a
Include wizards already done.
Value
None allowed
Default value
false
Help

List available upgrade wizards.

vendor/bin/typo3 upgrade:mark:undone

vendor/bin/typo3 upgrade:mark:undone Back to list
Mark upgrade wizard as undone.
Usage
vendor/bin/typo3 upgrade:mark:undone <wizardIdentifier>
Copied!
Arguments

wizardIdentifier

wizardIdentifier
Help

Mark upgrade wizard as undone.

vendor/bin/typo3 upgrade:run

vendor/bin/typo3 upgrade:run Back to list
Run upgrade wizard. Without arguments all available wizards will be run.
Usage
vendor/bin/typo3 upgrade:run [<wizardName>]
Copied!
Arguments

wizardName

wizardName
Help

This command allows running upgrade wizards on CLI. To run a single wizard add the identifier of the wizard as argument. The identifier of the wizard is the name it is registered with in ext_localconf.

vendor/bin/typo3 workspace:autopublish

vendor/bin/typo3 workspace:autopublish Back to list
Publish a workspace with a publication date.
Usage
vendor/bin/typo3 workspace:autopublish
Copied!
Help

Some workspaces can have an auto-publish publication date to put all "ready to publish" content online on a certain date.