# Installation

## Prerequisites

`django-treebeard` needs at least Python 3.10 to run, and Django 5.2 or later.

## Installing

You can install the release versions from django-treebeard’s PyPI page using `pip`:

    $ pip install django-treebeard

### .deb packages

Both Debian and Ubuntu include `django-treebeard` as a package, so you can just use:

    $ apt-get install python-django-treebeard

or:

    $ aptitude install python-django-treebeard

Remember that the packages included in linux distributions are usually not the most recent versions.

## Configuration

Add `'treebeard'` to the :django:setting:`INSTALLED_APPS` section in your django settings file.