TYPO3-Console documentation
If you don't want to use /vendor/bin/ in front of typo3cms:
mcedit ~/etc/bash/profile
alias "typo3cms=~/html/vendor/bin/typo3cms"
or
alias "typo3cms=~/html/typo3/vendor/bin/typo3cms"
typo3cms cache:flush
typo3cms install:fixfolderstructure
typo3cms database:updateschema
typo3cms database:updateschema safe
typo3cms install:generatepackagestates
typo3cms language:update
TYPO3 v9 and below:
typo3cms backend:createadmin -username myname -password mypass123
TYPO3 v10 and above:
typo3cms backend:createadmin myname mypass123
typo3cms database:export -c Default -e 'cf_*' -e 'cache_*' -e '[bf]e_sessions' -e sys_log > dbDump.sql
typo3cms database:import < dbDump.sql
TYPO3 v9 and below:
typo3cms upgrade:all
typo3cms upgrade:all -n -a=compatibility8Extension[install]=0
TYPO3 v10 and above:
typo3cms upgrade:prepare
typo3cms upgrade:run all --confirm all --deny typo3DbLegacyExtension --deny funcExtension --deny rsaauthExtension --deny feeditExtension --deny taskcenterExtension --deny sysActionExtension