Self-hosting
Quick start on your computer (beginner)
Never used a terminal much? Install Git, Node.js and Docker Desktop, copy UserTasks, run npm run setup:local and npm run dev, and create your admin account with the setup code. Windows, macOS and Linux.
On this page
This page gets UserTasks running on your own computer, step by step, even if you've hardly used a terminal before. It takes about half an hour, most of it waiting for downloads. Nothing is put on the internet: UserTasks runs only on your computer.
You'll type a few commands into a terminal, a window where you type instructions instead of clicking. Each code box below holds one command: copy it, paste it into the terminal and press Enter.
1. Install three things#
Download and install each one, accepting the default options:
| Program | Why you need it | Download |
|---|---|---|
| Git | Copies UserTasks to your computer | git-scm.com |
| Node.js, the LTS version | Runs UserTasks (version 20 or later) | nodejs.org |
| Docker Desktop | Runs the database, sign-in and file storage in the background | docker.com |
- Restart your computer if Docker asks.
- Windows: if Docker Desktop asks to turn on WSL 2 (the Windows Subsystem for Linux, which Docker needs), say yes and let it restart.
- Open Docker Desktop.
What you'll see: after a minute, Docker Desktop says Engine running. Leave it open whenever you use UserTasks.
2. Open a terminal#
- Windows: open the Start menu, type PowerShell and open Windows PowerShell.
- macOS: press ⌘ Space, type Terminal and press Enter.
- Linux: open Terminal from your apps (often Ctrl+Alt+T).
Check that Node.js is installed:
node --versionWhat you'll see: v22.… or v24.… (any version from 20 up is fine). If it says "not recognized" or "command not found", close the terminal and open a new one: installers only reach windows opened after them. Still not found? Restart the computer.
3. Copy UserTasks to your computer#
This makes a folder called usertasks inside the folder the terminal is in (your home folder):
git clone https://github.com/homepresso/User-Tasks.git usertasksThen go into it (cd means "change folder"):
cd usertasksWhat you'll see: "Cloning into 'usertasks'…", then the prompt comes back. After cd usertasks the prompt ends in usertasks. Run every command from now on in this folder.
4. Set everything up#
npm run setup:localIt takes a few minutes the first time (it downloads the database images), and seconds after that. It:
- checks Node.js and that Docker is running, and tells you what to install if not
- installs UserTasks' packages (
npm install) - starts the local Supabase in Docker: the database, sign-in and file storage
- builds the database (a new database gets every migration; an existing one only the new ones, so your data is kept)
- writes your settings file,
.env.local, with the database address and keys and fresh secrets (ENCRYPTION_KEY,CRON_SECRET); it never prints them - sets up background jobs (schedules and queued runs) in the local database
What you'll see: [1/7] to [7/7], then All set. If it stops, it says what to fix. Fix it and run the same command again: it's safe to repeat. It never overwrites values already in .env.local, and never wipes the database unless you ask with --reset (it asks you to type yes first).
| Option | What it does |
|---|---|
npm run setup:local -- --start | Runs npm run dev straight after |
npm run setup:local -- --force | Points an existing .env.local at the local Supabase (URL and keys only; secrets are kept) |
npm run setup:local -- --reset | Deletes everything in the local database and rebuilds it (asks first) |
5. Start it#
npm run devWhat you'll see: after a few seconds, Ready, then a line like this:
UserTasks setup code: ABCD-EFGH-JKLM (open /setup to create the admin account)Keep this window open: closing it stops UserTasks.
6. Create your admin account#
Open http://localhost:3000 in your browser ("localhost" means "this computer"). A new install shows Create your admin account. Fill in:
- your organisation's name
- your name, email and a password
- the setup code from step 5
What you'll see: you're signed in, and the getting-started checklist opens.
7. You're in#
- Follow the getting-started guide.
- Install a ready-made solution from the Gallery.
- Invite people from Settings → Members & invites. Sending invitation emails needs an email provider, such as a Resend key or SMTP: see Environment variables.
- Optional: drive UserTasks from the terminal with the CLI. The CLI only talks to a running server (this one, at http://localhost:3000); it doesn't install anything.
- Ready for your team? Move from your local Supabase to Supabase Cloud, then give it a friendly address.
8. Stopping and starting again#
To stop: click the terminal running UserTasks and press Ctrl+C. Then stop the database:
npx supabase stopTo start again: open Docker Desktop, open a terminal, cd usertasks, then start the database:
npx supabase startand UserTasks:
npm run devYour data is kept between restarts.
If something goes wrong#
| You see | Do this |
|---|---|
| "Docker isn't installed" or "Docker is installed but not running" | Open Docker Desktop, wait for Engine running, then run the command again |
| "Port 3000 is already in use" | Another program, often a second npm run dev, is using it. Close that terminal or restart your computer. See Port 3000 is already in use |
| "Could not read package.json" | You're in the wrong folder: cd usertasks, then try again |
| Lost the setup code | npm run setup-code prints a new one |
| The local Supabase won't start | Check Docker Desktop is running and has enough memory (Settings → Resources). See The local Supabase won't start |
More fixes: Troubleshooting.
Next#
Choose how to run it for a team: Docker Compose, Kubernetes or an air-gapped bundle.