---
title: "Deploy a Gin App | Hostman Docs"
description: "Deploy and manage your Go Gin applications with Hostman’s cloud platform. Use efficient tools for deployment, scaling, and monitoring for performance."
---

> 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/backend-apps/).

Hostman uses the following environment when building a Gin application:

-   Go (installed from PPA `longsleep/golang-backports`)
    

By default, we will execute the following commands during the build:

```
add-apt-repository -y ppa:longsleep/golang-backports && apt-get install -y golang-go --fix-missing
```

If the project has the `go.mod` file, we will install the dependencies defined in it:

```shell
go mod download
```

The default command used to run the application is:

```
go run main.go
```

Make sure the file that initializes the application is named `main.go`.
