Where Does Nheko Store Config and Chat Data?
Nheko files its config and per profile chat databases in standard XDG locations, documented in its own man page.
Last updated
Nheko documents its files in a man page, which already puts it ahead of most chat apps. Settings live as nheko.conf under the config home. Chat history lives as LMDB databases under the data home, one folder per profile.
LMDB means the database is a directory with data.mdb inside rather than a single SQLite file. Copy the whole profile folder, never lone files from it. The split config and data homes follow XDG properly, overridable through environment variables.
Where Nheko stores this, by platform
~/.config/nheko/nheko.conf
nheko.conf holds settings here. Chat history lives apart in the data tree, one profile folder each with data.mdb inside.
~/.local/share/nheko/nheko/
One subfolder per profile with LMDB data.mdb files. Copy whole profile folders with Nheko closed, never single files.
Frequently asked questions
How do I move profiles to a new machine?
Copy the profile folder under the data tree with Nheko closed. Config and database travel as a pair. Encryption keys ride along, so verification state survives the move intact.
Can I run separate profiles?
Launch with -p and a profile name for isolated instances. Each profile gets its own database folder, which suits separating work and personal Matrix accounts cleanly.
Notice an outdated path? Let us know.