# Node.js, Electron and `better-sqlite3`

`better-sqlite3` requires a native module in order to work. In order to ease the installation process, prebuilt binaries are provided by the library developers.

Trilium Next started with version 8.4.0 for `better-sqlite3`

`better-sqlite3` version | SQLite version | Node.js prebuilds | Electron.js prebuilds
8.4.0 | <3.43.0 | v20 | ???
8.5.0 | v20 | v25
8.5.1 |  | v26
8.5.2 | v20 (macOS + arm64)
8.6.0 | 3.43.0 |
8.7.0 | 3.43.1 |
9.0.0 | 3.43.2 |  | v27
9.1.0 | 3.44.0 |
9.1.1 | macOS + Alpine
9.2.0 | 3.44.2 |
9.2.1 / 9.2.2 |  | v28
9.3.0 | 3.45.0 |
9.4.0 | 3.45.1 |
9.4.1 | Windows arm, arm64
9.4.2 |  | <v29
9.4.3 |  | <v29
9.4.4 |  | v29
9.4.5 | Better prebuilds
9.5.0 | 3.45.2 |
9.6.0 | 3.45.3 |  | v30
10.0.0 | v22
10.1.0 | 3.46.0 |
11.0.0 | >21
11.1.0 (prerelease) |  |  | v31
11.1.1 |  |
11.1.2 |  |