Setup the TYPO3 installation¶
Switch into your empty htdocs directory of choice and clone a fresh master of TYPO3:
git clone git://git.typo3.org/Packages/TYPO3.CMS.git .
If you rather like to work with your favorite Git GUI, we compiled a list of the ones used throughout the core team here.
– required (unless run
composer install from container solution, such as DDEV,
If you plan to use a Docker based container solution for setting up your
TYPO3 installation (for example using DDEV),
you can perform the step
composer install later and let it run
inside your Docker container.
Information about setting up Composer is found in previous chapter.
Run composer install in the same directory you cloned the master repository to. This may take several minutes:
# cd <cloned project> composer install
This step is not necessary to setup a working environment. You may however
want to test this step because you might be needing it later if you make
changes in the frontend SCSS or TypeScript files in
If not, skip to Setting up a Working TYPO3 Installation.
Go to the
Build folder of your TYPO3 install root directory.
Install all dependencies with
Wait for the the end of the install progress.
yarn build for the build process.
cd Build yarn install yarn build cd ..
The following is a list of available build targets (see package.json for an
up-to-date list). You will only be needing these if you want to do something
specific. Usually, it should suffice to use
yarn install and
yarn build- Compile everything.
yarn build-css- Compile SCSS to CSS.
yarn lint- Test your SCSS and ts files.
yarn format- Resolve Style issues.
yarn update- Update dependencies (Use this if you are really sure what you’re doing).