Setup the TYPO3 installation¶
Important
If you are setting TYPO3 up with DDEV, you can skip this page and jump straight to
You will now need to setup a working installation of TYPO3. There are different ways how you can do this. We provide a few examples in the Appendix:
In any case, use the cloned Git repository as basis (see git clone).
composer install¶
Run composer install in the same directory you cloned the TYPO3 CMS core repository.
It is recommended to use run
for this (see Core testing in depth). The "direct command" is an
alternative, but it requires your local system to have proper PHP and Composer versions ready to use.
You only need to run one of these!
Note
While working with the TYPO3 sources, Composer may not detect the TYPO3 version of your
cloned project because there was none. Before you run composer install
may need to export
the COMPOSER_ROOT_VERSION environment variable.
Here you need to set a full version string matching the TYPO3 version of your Git clone.
Example:
# cd <cloned project>
export COMPOSER_ROOT_VERSION=13.0.0
Build/Scripts/runTests.sh -s composerInstall
composer install