---
title: "Installation"
manual: "Cart"
version: "12.1"
permalink: "https://docs.typo3.org/permalink/extcode/cart:installation@12.1"
source: "Administrator/Installation/Index.rst"
rendered: "2026-11-14T23:50:30+00:00"
---

# Installation {#installation}

The installation consists of adding the extension and including the TypoScript.
To get a working cart you need to process further steps which are descriped in
[the quick start](https://docs.typo3.org/permalink/extcode/cart:quick-start@12.1).

## Install the extension {#installation-extension}

Depending on your needs you have three options to install the extension.

### Installation using composer {#installation-using-composer}

The recommended way to install the extension is by using [Composer](https://getcomposer.org/).

In your composer-based TYPO3 project root, just do

```bash
composer require extcode/cart
```

### Installation from TYPO3 Extension Repository (TER) {#installation-from-typo3-extension-repository-ter}

Download and install the extension with the extension manager module.

### Latest version from git {#latest-version-from-git}

You can get the latest version from git by using the git command

```bash
git clone git@github.com:extcode/cart.git
```

## Include TypoScript {#installation-typoscript}

The extension ships some TypoScript code which needs to be included.
There are two valid ways to do this:

### Include TypoScript via TYPO3 backend {#include-typoscript-via-typo3-backend}

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 **Shopping Cart - Cart** at the field *Include static (from extensions):*

### Include TypoScript via SitePackage {#include-typoscript-via-sitepackage}

This way is preferred because the configuration is under version control.

1.  Add `@import 'EXT:cart/Configuration/TypoScript/setup.typoscript'`
    to your  `sitepackage/Configuration/TypoScript/setup.typoscript`
1.  Add `@import 'EXT:cart/Configuration/TypoScript/constants.typoscript'`
    to your  `sitepackage/Configuration/TypoScript/constants.typoscript`
