Self-host Trilium Notes
updated Sep 2026deployed by usprices checked · Jul 2026Install verified on Ubuntu 26.04 · Sep 2026 · how we test
We earn commissions when you shop through the links below. Full disclosure →
A hierarchical note-taking app for building a personal knowledge base, with rich-text and code notes, note cloning, per-note encryption and scripting. The server edition serves a web UI and acts as the sync server for the Trilium desktop app.
Key facts
CategoryNotes
LicenseAGPL-3.0
StackTypeScript, Node.js, SQLite
Min RAM512 MB
Official imageyes
Measured idle RAM61 MB
Difficulty
What you need
- Any VPS with at least 512 MB of RAM
- A domain you control — most self-hosted setups need HTTPS in front of them
- Under an hour if you've used Docker before
Where to host itaffiliate disclosure
Hetzner Cloudrun it on
From $23.59/mo · 2 vCPU / 4 GB / 80 GB · EU + USKamaterafree trial
From $4/mo · 1 vCPU / 1 GB / 20 GB · US + EU + AsiaDigitalOceanalso works on
From $6/mo · 1 vCPU / 1 GB / 25 GB · US + EU + AsiaPaid link — we earn a commission if you shop through it.
Install
Run these commands on your server:
# Trilium Notes (server edition)
docker run -d --name trilium --restart unless-stopped \
-p 8080:8080 -v trilium-data:/home/node/trilium-data \
triliumnext/trilium:latest
# open http://SERVER_IP:8080 and set a password on first visitdeploy guideHow to Deploy Trilium on a VPSvps picksBest VPS for self-hostingbenchmarked quarterly · re-priced monthly
An alternative to
More in Notes
Notes
AFFiNE
TypeScriptNode.jsRustPostgreSQLRedis
easyRead guide →
Notes
HedgeDoc
Node.jsTypeScriptPostgreSQL
easyRead guide →
Notes
Joplin Server
TypeScriptNode.jsPostgreSQL
easyRead guide →
Notes
Memos
GoReactSQLite
easyRead guide →