Discover Herolu preset for Nitro!

Preset: heroku (switch to this preset)

Nitro supports deploying on Heroku with minimal configuration.

Using the Heroku CLI

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