Prepare your app
Add the start script next to the ones Nuxt created:
"scripts": {
"build": "nuxt build",
"start": "node .output/server/index.mjs",
"dev": "nuxt dev",
"postinstall": "nuxt prepare"
}That's all most apps need. nuxt build uses Nitro's node-server preset when no hosting provider is detected, and writes the server to .output/. The server reads PORT (we set it) and listens on 0.0.0.0 by default, so no host setting is needed. Leave NITRO_PRESET unset, or set it to node-server.
Nuxt 4.6 asks for Node 22.22.3 or newer, and we build on Node 22.19, so the build log shows Current version of Node.js (22.19.0) is unsupported. It's a warning, not an error: a Nuxt 4.6 app built and ran on 22.19 when we tried it. If you see a strange build error, mention that warning when you ask us for help.
Prerendered pages instead of nuxt generate
nuxt generate builds a fully static site into .output/public with no server, and we have no static-files mode for Nuxt, so there would be nothing to run. Keep nuxt build as the build script.
You can still prerender pages that never change. Mark them in routeRules and the Node server sends the prebuilt HTML:
export default defineNuxtConfig({
routeRules: {
'/': { prerender: true },
'/about': { prerender: true },
},
})Environment variables
Add variables in the project's settings. They're available both while the app builds and while it runs, so build-time values (like framework-public keys) work without extra setup. See Environment variables.
- Declare values in
runtimeConfigand override them with env vars named after the key:NUXT_API_SECRETforruntimeConfig.apiSecret,NUXT_PUBLIC_API_BASEforruntimeConfig.public.apiBase. The server reads them when it starts, so they aren't baked into the build. - Only
runtimeConfig.publicreaches the browser. Keep secrets at the top level ofruntimeConfig. - A
process.env.SOMETHINGread insidenuxt.configunder a different name only works at build time. Use theNUXT_names instead. - The built server doesn't read
.env. Use project env vars.
Add a database
Add a Postgres addon and DATABASE_URL is injected automatically. Read it in server routes (server/api/) with process.env.DATABASE_URL. Code there never ships to the browser. The database isn't reachable while the app builds, so run migrations in front of the Start command in Settings → Build, for example npx drizzle-kit migrate && node .output/server/index.mjs.
Health check
Every deploy requests your health check path (/ by default) and only goes live once it returns a 2xx or 3xx status. The platform keeps checking it after that. If / returns 404 or needs a login, add a route like /healthz that returns 200 and set it as the Health Check Path in Settings. Otherwise the deploy fails and the previous version keeps serving.
Deploy Nuxt for free
The Free plan costs nothing and needs no card. It includes:
- One project, live over HTTPS at
<project-slug>.ethiodeploy.app. - 256 MB of memory and half a CPU core.
- A managed Postgres, MySQL or Redis addon with 512 MB of storage. It doesn't expire.
- A redeploy on every push, the same as the paid plans.
The catch is sleep. After 30 minutes without traffic the app stops, and the next request starts it again. We hold that request for up to 30 seconds while the app boots, so the first visitor after a quiet spell waits a little.
A Nuxt app runs on the Free plan as it is: the SSR server, server routes and the Postgres addon fit in one project. The container has 256 MB of memory, so watch the metrics if your pages fetch and render a lot of data per request.
When the app has to stay awake or needs your own domain, Pro is $10 or 1,399 ETB a month: always on, 1 GB of memory and a 5 GB database.
Deploy
- Sign in with GitHub and install the EthioDeploy app on the repo.
- Click “New Project” and pick the repo.
- Watch the build in the dashboard. When the health check passes, your app is live at
<project-slug>.ethiodeploy.app. Every push to the default branch redeploys, and the old version keeps serving until the new one is healthy.
Troubleshooting
No start command could be found
Cause: package.json has no start script, which is how the Nuxt starter ships.
Fix: Add "start": "node .output/server/index.mjs", or set that as the Start command in Settings → Build.
Cannot find module .output/server/index.mjs
Cause: The build didn't produce a Node server: the build script runs nuxt generate, or NITRO_PRESET points at another host.
Fix: Build with nuxt build and remove NITRO_PRESET (or set it to node-server).
runtimeConfig values are empty in production
Cause: The env var name doesn't match the key, or the value only lived in .env.
Fix: Name it NUXT_ plus the key in upper snake case (NUXT_PUBLIC_ for public keys), add it in Settings, and redeploy.
Current version of Node.js (22.19.0) is unsupported
Cause: Nuxt 4.6 asks for a newer Node 22 than the build uses. It's a warning.
Fix: Nothing to do if the build passes. If it fails, check the log for the actual error below the warning.
The app runs but the deploy fails its health check
Cause: Your health check path returns 404, a 5xx, or needs a login.
Fix: Add server/routes/healthz.ts returning "ok" and set /healthz as the Health Check Path in Settings.
Still stuck? Check the deployment's build log in the dashboard, or see Troubleshooting.
Questions
No. nuxt build uses the node-server preset by default, and that is what EthioDeploy runs. You only need a start script: node .output/server/index.mjs.
Not as a static-only build. Keep nuxt build and mark the pages you want static with routeRules prerender: true. The Node server then sends the prebuilt HTML for those pages.
Add env vars named NUXT_ plus the key in upper snake case, for example NUXT_API_SECRET for runtimeConfig.apiSecret or NUXT_PUBLIC_API_BASE for runtimeConfig.public.apiBase. They're read when the server starts.
Yes. The Free plan runs one project with a 512 MB Postgres database at no cost. The app sleeps after 30 minutes without traffic and wakes on the next request, and the container has 256 MB of memory. Pro ($10/month) keeps it always on with 1 GB.
Ready to deploy?
Sign in with GitHub and pick your repo. No Dockerfile, no YAML.
More guides
All guides on the deploy guides page. Custom domains, env vars, addons and billing are in the docs.