---
title: "Deploy a Preact App | Hostman Docs"
description: "Learn how to deploy Preact.js apps on Hostman platform easily. Follow our steps for fast, reliable frontend hosting solutions."
---

> For the complete documentation index for AI agents, see [llms.txt](https://hostman.com/llms.txt).

You can find the step-by-step deployment guide [here](https://hostman.com/docs/app-platform/frontend-apps/).

By default, the following commands are executed to build a Preact project:

```shell
DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y --no-install-recommends \
  curl \
  {% if system_dependencies %}{{ system_dependencies | join(' ') }}{% endif %} \
  && rm -rf /var/lib/apt/lists/*
```

Here, `system_dependencies` refers to the system packages configured in the dashboard.

After that, project dependencies are installed using the package manager detected in the repository (`yarn`, `pnpm`, or `npm`):

```shell
yarn install
pnpm install
npm install
```
