Self-hosted · Docker

Install UserTasks with one command.

On any machine with Docker: the installer checks it, downloads a signed release, asks which services to use, starts everything and prints your setup code. Then usertasks upgrade keeps it current.

  • Production-ready for self-hosting today
  • Linux, macOS and Windows
  • Signed, pinned releases
  • Safe to run again

Install

Paste one line into a terminal

Start Docker first. The installer asks a few questions; press Enter to accept the defaults.

Linux and macOS

shell
curl -fsSL https://usertasks.com/install.sh | sh

With options: another port, folder or public address. --non-interactive takes the defaults; --version pins a release.

shell
curl -fsSL https://usertasks.com/install.sh | sh -s -- --port 8080 --dir /opt/usertasks --url https://tasks.example.com

Windows (PowerShell, Docker Desktop)

powershell
irm https://usertasks.com/install.ps1 | iex

Docker Desktop must use the WSL 2 backend and Linux containers. With options:

powershell
& ([scriptblock]::Create((irm https://usertasks.com/install.ps1))) -Port 8080 -Dir C:\UserTasks

Need a native Windows installer (MSI, no Docker) for Windows Server? Contact support and we'll provide one. Paid support plans are available too.

  1. 1

    Checks the machine

    Linux or macOS (amd64 or arm64; Windows uses install.ps1), memory, disk space, and Docker with Compose 2.20 or later. No Docker? It says how to get it, and on common Linux distributions offers to install Docker Engine for you.

  2. 2

    Downloads a signed release

    A small, versioned bundle: the Compose file, a settings template and the usertasks command. It checks the release signature and the checksum before running anything from it.

  3. 3

    Pulls the published image

    ghcr.io/homepresso/usertasks, pinned to the exact image the release names. If it can't be downloaded, it can build the image locally instead (that needs about 10 GB of memory for Docker).

  4. 4

    Asks which services to use

    Everything in containers (the default) or a Supabase project, free; your own PostgreSQL or your own choice for each service with an Infrastructure add-on licence. Then it writes .env with fresh secrets.

  5. 5

    Starts UserTasks

    Applies the database migrations, starts the containers and waits until UserTasks answers.

  6. 6

    Prints your setup code

    Open the address it prints, enter the setup code on the Create your admin account screen, and you're the owner. It opens your browser when it can.

Install step by step Requirements Create your admin account HTTPS and a friendly address

After the install

One command to run it

The installer puts a usertasks command on the server for everyday care.

shell
usertasks status
usertasks backup
usertasks upgrade

usertasks status

The version, the containers and their health, whether setup is done, and pending migrations.

usertasks backup

A database dump, the files and your .env (with ENCRYPTION_KEY) in one folder under backups/.

usertasks restore

Puts a backup back: the database, the files and .env. It takes a fresh backup first.

usertasks upgrade

Backs up, downloads and verifies the new release, applies the migrations, switches and checks it's healthy.

Automatic rollback

If the new version doesn't come up, upgrade switches the code back to the version you had and says so.

usertasks uninstall

Stops and removes UserTasks. Your data stays unless you add --purge and confirm.

Verified downloads

Every release lists its files in SHA256SUMS, signed with the UserTasks release key (and with Sigstore). The installer and usertasks upgrade refuse anything that doesn’t match, and the release pins the exact image digest.

Upgrade to a new release Backups Switch services later (Infrastructure add-on) Other ways to run it

FAQ

Questions, answered.

Is it safe to pipe a script into my shell?

The installer is one function that only runs once it has fully downloaded, so a broken connection does nothing. Read it first if you prefer: download https://usertasks.com/install.sh, look through it, then run it with sh. Everything it downloads after that is checked against the release signature before it runs.

What does it need?

Linux or macOS with Docker (Docker Engine with the Compose plugin, or Docker Desktop), or Windows 10/11 with Docker Desktop and WSL 2. About 2 GB of memory for the containers (4 GB or more recommended) and 5 GB of disk.

Can I run it again?

Yes. It finds the existing install, keeps .env, its secrets and your data, and only starts anything that isn't running. To change the services later, run usertasks config.

How do I upgrade?

Run usertasks upgrade (or usertasks upgrade --to <version>). It backs up first, applies the migrations, switches to the new version, checks its health, and rolls the code back by itself if the new version doesn't start.

I already have the UserTasks CLI. Do the commands clash?

No. Server commands (status, logs, backup, restore, upgrade, config, uninstall, setup-code, admin) are handled on the server; anything else is passed to the CLI from npm if it's installed. If a usertasks command was already on your PATH, the installer leaves it alone and names this one usertasks-server.

Where are my files?

In the install folder: ~/usertasks (or /opt/usertasks when run as root; %USERPROFILE%\usertasks on Windows). .env holds the secrets; back it up with the database. The data lives in Docker volumes named after the project.