nb Notes vs Trilium Notes

A side-by-side comparison of two self-hosted notes & knowledge base options — licensing, setup difficulty, resource needs, and what each one replaces.

Not the right match-up?
Featurenb NotesTrilium Notes
Deploy effortRead-the-docs project≈5-minute setup
Health score92 · Excellent99 · Excellent
CategoryNotes & Knowledge BaseNotes & Knowledge Base
LicenseAGPL-3.0AGPL-3.0
LanguageShellTypeScript
Setup difficultyEasyEasy
Min. RAM32 MB256 MB
Deploymentbare-metal, binarydocker, bare-metal
GitHub stars★ 8,410★ 37,958
First released20192017
ReplacesEvernote, NotionEvernote, Notion

What are nb Notes and Trilium Notes?

nb Notes

nb is a command-line and local web tool for plain-text note-taking, bookmarking, and archiving with Git-backed versioning and syncing. It works entirely in the terminal and supports encryption.

  • Plain-text notes and bookmarks
  • Git-backed sync
  • Optional encryption
  • Tagging and search

Read the full nb Notes guide →

Trilium Notes

Trilium Notes is a hierarchical note-taking application designed for building large personal knowledge bases with rich linking and scripting. It targets power users who want a structured second brain. It is deployed via Docker as a server with desktop and web clients.

  • Deep hierarchical note tree
  • Note attributes and relations
  • Scripting and automation
  • Encrypted protected notes

Read the full Trilium Notes guide →

nb Notes vs Trilium Notes: key differences

Nb Notes is written in Shell, while Trilium Notes is built with TypeScript. Nb Notes is the lighter option, starting around 32 MB of RAM against 256 MB for Trilium Notes. Trilium Notes is the more established project (first released 2017), while nb Notes arrived in 2019. Trilium Notes has the considerably larger community, at 37,958 GitHub stars versus 8,410. Trilium Notes lists first-class Docker deployment; nb Notes does not.

Why pick each one

Choose nb Notes if…

  • Powerful for terminal users
  • Versioned with Git

Watch out for

  • Command-line only
  • No graphical client
nb Notes details

Choose Trilium Notes if…

  • Powerful for big knowledge bases
  • Flexible structure
  • Scriptable

Watch out for

  • Steep learning curve
  • Single-user oriented
Trilium Notes details

Frequently asked questions

Is nb Notes or Trilium Notes better?

Neither is universally better. Trilium Notes has the larger community; both share a easy setup difficulty, so the decision comes down to features and licensing.

Are nb Notes and Trilium Notes free and open-source?

Yes. nb Notes is licensed under AGPL-3.0 and Trilium Notes under AGPL-3.0. Both can be self-hosted at no software cost.

Can I run nb Notes and Trilium Notes with Docker?

nb Notes: check the project docs for container support. Trilium Notes: yes.

Which is lighter on resources, nb Notes or Trilium Notes?

nb Notes has the smaller minimum footprint at 32 MB of RAM, compared to about 256 MB for Trilium Notes. Real-world usage depends on library size, user count, and enabled features.

Related comparisons