# Installation Overview

> Install a self-hosted LearnHouse instance with the LearnHouse CLI, which generates and runs the Docker Compose stack, backups and updates for you.

The **LearnHouse CLI** is the recommended and officially supported way to install and manage self-hosted LearnHouse instances. The CLI automates deployment, taking you from a fresh server to a running LearnHouse instance.

## What the CLI Does

The LearnHouse CLI handles:

- **Interactive setup wizard** that walks you through initial configuration
- **Docker Compose generation** based on your setup choices
- **Environment file generation** with all required variables pre-configured
- **Service management** to start, stop, and restart your instance
- **Health checks** to verify all services are running correctly
- **Backups and restores** for your database and uploaded content
- **Updates** to pull the latest LearnHouse images and apply them

> You do not need to manually create or edit Docker Compose files. The CLI generates and manages them for you based on your configuration choices.

## Next Steps

- [Requirements](https://docs.learnhouse.app/self-hosting/installation/requirements): Verify your server meets the minimum system requirements.
- [Quick Install](https://docs.learnhouse.app/self-hosting/installation/quick-install): Install the CLI and set up LearnHouse in minutes.
- [CLI Commands](https://docs.learnhouse.app/cli/commands): Full reference of all available CLI commands and flags.
