Skip to main content
Illustration by Annie Ruygt of a color wave accross the sky Getting an application running on Fly.io is essentially working out how to package it as a deployable image. Once packaged it can be deployed to the Fly.io platform. In this guide we’ll learn how to deploy a Remix application on Fly.io. We’ll be using the standard web application generated by Remix. This is a bare-bones app with no database.

Deploy a Remix app

We’ll assume you have NodeJS installed already and can run npm. We recommend using npm over yarn, as npm is what Remix references in their documentation. First, install flyctl, the Fly.io CLI, and sign up to Fly.io if you haven’t already. Now let’s generate a new Remix app. When asked where you want to deploy, pick Fly.io.
Now you’re ready to deploy:
That’s it! Run fly apps open to see your deployed app in action. Try a few other commands: