hosting deployment⏱10 minutes

Get Started with Railway

Quick Summary

“Infrastructure, simplified”

Best for: Developers who want Heroku-like simplicity with modern infrastructure, auto-deployments, and built-in Postgres/Redis
Time to first integration: 10 minutes

📋Prerequisites

  • ✓Node.js 18+ installed
  • ✓A Railway account — sign up here
  • ✓An existing project (Next.js, React, or Node.js recommended)

Setup Steps

4 steps
1

Install the CLI

Install the Railway CLI globally.

bash
npm i -g @railway/cli
2

Log in and init

Authenticate and initialize a project.

bash
railway login railway init
3

Deploy

Deploy your app to Railway.

bash
railway up
4

Provision a database

Add a database service and configure env vars in the dashboard.

bash
railway add

Related Guides

Setting up a full stack? Check out these complementary guides.

Links