---
title: "How to Deploy a React App | Hostman Docs"
description: "Start to deploy React apps on Hostman with our guide. Achieve fast, scalable frontend hosting for your web projects and many more!"
---

> 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 React 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
```
