> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fly.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Deploy a Nuxt App

> Deploy a Nuxt app to Fly.io. fly launch generates a Dockerfile and fly.toml for your Nuxt project and deploys it to a Fly Machine.

In this guide we’ll learn how to deploy a [Nuxt](https://nuxt.com) application on Fly.io.

You can deploy your [Nuxt](https://nuxt.com) app on Fly with minimal effort, our CLI will do the heavy lifting.

## *Deploy a Nuxt app*

First, [install flyctl](https://docs.fly.io/flyctl/install.md), the Fly.io CLI, and [sign up to Fly.io](https://docs.fly.io/getting-started/sign-up-sign-in.md#no-account-sign-up-for-fly-io) if you haven't already.

If you don't already have a Nuxt app, you can create one:

```bash theme={null}
npx nuxi@latest init hello-nuxt
```

Now let's launch your Nuxt app.

```bash cmd theme={null}
cd <%= app_name %>
fly launch
```

```output output theme={null}
Creating app in /Users/me/<%= app_name %>
Scanning source code
Detected a <%= detected %> app
? App Name (leave blank to use an auto-generated name): <%= app_name %>
? Select organization: flyio (flyio)
? Select region: mad (Madrid, Spain)
Created app <%= app_name %> in organization soupedup
? Would you like to deploy now? Yes
==> Validating app configuration
--> Validating app configuration done
Services
TCP 80/443 ⇢ 8080
Remote builder fly-builder-little-glitter-8329 ready
...
1 desired, 1 placed, 1 healthy, 0 unhealthy [health checks: 2 total, 2 passing]
--> v0 deployed successfully
```

That's it! Run `fly apps open` to see your deployed app in action.

Try a few other commands:

* [`fly logs`](https://docs.fly.io/flyctl/cmd/fly_logs) - Tail your application logs
* [`fly status`](https://docs.fly.io/flyctl/cmd/fly_status) - View your app's current deployment status
* [`fly ssh console`](https://docs.fly.io/flyctl/cmd/fly_ssh_console) - Open a terminal on your VM
* [`fly deploy`](https://docs.fly.io/flyctl/cmd/fly_deploy) - Deploy the application after making changes
