β‘Quick Start: Running locally w/o Docker (on MacOS or Linux)
This guide walks you through setting up the UpGrade locally using Node.js and PostgreSQL, without Docker. The steps are intentionally simple and linear so that anyone can complete the setup smoothly.
1. Install Node.js (via nvm)
UpGrade currently uses Node v22.14.0 for both development and build compatibility.
# Install nvm (Node Version Manager)
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
# Load nvm into the current shell
source ~/.zshrc # or ~/.bashrc depending on your shell
# Install Node v22.14.0
nvm install 22.14.0
# Use that version
nvm use 22.14.0
# Verify
node -v # v22.14.0
npm -v2. Install PostgreSQL
We recommend Postgres.app on macOS because it is the simplest and most reliable way to run PostgreSQL locally.
Download Postgres from: https://postgresapp.com/downloads.html
Move it to your
ApplicationsfolderOpen the app
Click Initialize
Open Server Settings β rename the server to dev
3. (Optional) DataGrip Setup
If you want a GUI to inspect the database:
Download and install Datagrip from https://www.jetbrains.com/datagrip/download
Open Datagrip and click "New Project".
Enter "PostgreSQL" as a new project name and click "OK".
Click "+" -> "Data Source" -> "PostGreSQL".
Enter "postgres" for the "User" field and click "OK".
4. Clone & Install UpGrade
This installs all backend, types, and frontend dependencies in the correct order.
5. Backend Environment Setup
Go to the Upgrade backend package:
Edit .env and update:
6. Frontend Environment Setup
Edit:
This must match the backendβs Google client ID.
7. Start the Backend
Backend will now be live at:
8. Start the Frontend
Default frontend dev server runs on:
Setup Complete π
You now have:
PostgreSQL running locally
UpGrade backend running on port 3030
UpGrade UI running on port 4200
Last updated