---
title: "Heroku"
description: "Deploy your Nuxt Application to Heroku infrastructure."
canonical_url: https://nuxt.com/deploy/heroku
last_updated: 2026-04-15
---

# Heroku

> Deploy your Nuxt Application to Heroku infrastructure.

Nuxt supports deploying on [Heroku](https://heroku.com/) with minimal configuration.

## Using the Heroku CLI

1. Create a new Heroku app.```bash [Terminal]
heroku create myapp
```
2. Configure Heroku to use the nodejs buildpack.```bash [Terminal]
heroku buildpacks:set heroku/nodejs
```
3. Configure your app.```bash [Terminal]
heroku config:set SERVER_PRESET=heroku
```
4. Ensure you have `start` and `build` commands in your `package.json` file.```json [package.json]
{
  "scripts": {
    "build": "nuxt build",
    "start": "node .output/server/index.mjs"
  }
}
```

## Learn more

<read-more target="_blank" to="https://nitro.unjs.io/deploy/providers/heroku">

Head over **Nitro documentation** to learn more about the Heroku deployment preset.

</read-more>
