---
title: "Installation"
manual: "Events2"
version: "main"
permalink: "https://docs.typo3.org/permalink/jweiland/events2:installation@main"
source: "Installation/Index.rst"
rendered: "2026-11-23T08:41:16+00:00"
---

# Installation {#installation}

**Table of contents**

-   [Install events2 with Composer](https://docs.typo3.org/permalink/jweiland/events2:install-events2-with-composer@main)
-   [Install events2 with the Extension Manager](https://docs.typo3.org/permalink/jweiland/events2:install-events2-with-the-extension-manager@main)
-   [Add the site set of events2](https://docs.typo3.org/permalink/jweiland/events2:add-the-site-set-of-events2@main)
-   [Re-create the day records each day](https://docs.typo3.org/permalink/jweiland/events2:re-create-the-day-records-each-day@main)
-   [Next step](https://docs.typo3.org/permalink/jweiland/events2:next-step@main)

## Install events2 with Composer {#installation-composer}

If your TYPO3 installation works in composer mode, please execute
following command:

```bash
composer req jweiland/events2
vendor/bin/typo3 extension:setup --extension=events2
```

If you work with DDEV please execute this command:

```bash
ddev composer req jweiland/events2
ddev exec vendor/bin/typo3 extension:setup --extension=events2
```

## Install events2 with the Extension Manager {#installation-extension-manager}

On non composer based TYPO3 installations you can install `events2` still
over the Extension Manager:

1.  Login

    Login to backend of your TYPO3 installation as an administrator or
    system maintainer.
1.  Open the Extension Manager

    Click on **Admin Tools > Extensions** to open the Extension
    Manager.
1.  Update extensions

    Choose **Get Extensions** from the upper select box and click on
    the button **Update now** at the upper right.
1.  Install `events2`

    Use the search field to find `events2`. Choose the `events2` line from
    the search result and click on the cloud icon to install `events2`.

## Add the site set of events2 {#installation-site-set}

<!-- TODO: no Markdown rendering for "versionchanged" -->

The static TypoScript template Events has been removed.
The TypoScript of events2 is provided by the site set
jweiland/events2 only.

Add the site set `jweiland/events2` as dependency to the site set of your
site package or select it in the site configuration in
**Site Management > Sites**:

**EXT:my_sitepackage/Configuration/Sets/MySite/config.yaml**

```yaml
name: my-vendor/my-site
label: My site
dependencies:
  - jweiland/events2
```

Configure events2 with the site settings of the site set, for example the
storage folder of the events (`events2.storagePid`) or the pages with the
plugins (`events2.pidOfDetailPage`). See [TypoScript](https://docs.typo3.org/permalink/jweiland/events2:typoscript@main) and
[Site sets](https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us/ApiOverview/SiteHandling/SiteSets/Index.html#site-sets).

## Re-create the day records each day {#installation-day-records}

<!-- TODO: no Markdown rendering for "versionchanged" -->

The scheduler task Re-Create day records has been removed.
Use the command events2:rebuild instead.

events2 works within a timeframe (see `recurringPast` and
`recurringFuture` in [Extension Settings](https://docs.typo3.org/permalink/jweiland/events2:extensionsettings@main)). Each day the oldest day
records have to be removed and the future day records have to be created.

Add a task of the class **Execute console commands** in the
module **System > Scheduler**, choose the command
`events2:rebuild` without any option. Let the task run once a day, for
example at night. As an alternative, run the command with a cron job:

```bash
vendor/bin/typo3 events2:rebuild
```

If the day records are not re-created regularly, it may happen that you
will not see any event on your website after 6 months. See
[Re-create day records with events2:rebuild](https://docs.typo3.org/permalink/jweiland/events2:commands-rebuild@main).

## Next step {#installation-next-step}

[Configure events2](https://docs.typo3.org/permalink/jweiland/events2:configuration@main).
