---
title: "Installation"
manual: "Code Highlight"
version: "5.0"
permalink: "https://docs.typo3.org/permalink/brotkrueml/codehighlight:installation@5.0"
source: "Installation/Index.rst"
rendered: "2026-10-12T15:21:37+00:00"
---

# Installation {#installation}

Target group: **Administrators**

> [!NOTE]
> The extension in version 5.0 supports TYPO3 v13 LTS and TYPO3 v14 LTS.

Some basic configuration is available which is explained in the
[Configuration](https://docs.typo3.org/permalink/brotkrueml/codehighlight:configuration@5.0) section.

## Installation via Composer {#installation-composer}

The recommended way to install this extension is by using Composer. In your
Composer-based TYPO3 project root, just type:

```shell
composer req brotkrueml/codehighlight
```

and the recent stable version will be installed.

## Installation in extension manager {#installation-extension-manager}

In a legacy installation, you can also install the extension from the
[TYPO3 Extension Repository (TER)](https://extensions.typo3.org/extension/codehighlight).

## Preparation: Include static TypoScript {#include-static-typoscript}

The extension ships some TypoScript code which needs to be included.

> [!NOTE]
> This needs only to be done, if **not** using TYPO3 v13 with
> [site sets](https://docs.typo3.org/permalink/brotkrueml/codehighlight:site-sets@5.0).

1.  Switch to the root page of your site.
1.  Switch to the **Template module** and select **Info/Modify**.
1.  Press the link **Edit the whole template record** and switch to the
    tab **Includes**.
1.  Select **Code Highlight (codehighlight)** from the available items
    at the field **Include static (from extensions):**

![Include static TypoScript](../Images/Installation/include-static-template.png)
