跳到正文

TriliumNext Notes

Trilium Notes Team · 一款层级式笔记应用,可将笔记整理到便于浏览的树状结构中。

Cask写作与笔记 3.9万
主页
安装命令
brew install --cask trilium-notes
近 30 天安装
130
App榜第 844
近一年安装
1,295
365 天累计
最新版本
0.107.0
下载大小
196MB
dmg
更新节奏
每两周
近 30 天 2 个版本

介绍

TriliumNext Notes 是一款用于层级式记笔记的桌面应用。其文档介绍了以树状结构组织的笔记,以及浏览和处理单条笔记的工具。

文档列出的功能包括:

  • 创建和处理文本笔记、链接、图片及附件。
  • 通过树状结构、排序、书签和笔记提升来整理与浏览笔记。
  • 搜索笔记并保留修订版本;文档也介绍了受保护和归档笔记。
  • 导入和导出内容,文档设有 Markdown、Evernote 和 OneNote 相关章节。

要使用 Homebrew 安装 macOS 应用,请运行 brew install --cask trilium-notes。该 cask 要求 macOS Ventura 或更高版本,并将 Trilium Notes.app 安装到 /Applications。

文档还介绍了独立的服务器安装和同步主题;此 cask 安装的是桌面应用,而非服务器软件包。链接的文档说明,其仓库在过渡到新的文档机制期间已归档。

来源:TriliumNext 文档 · Homebrew cask

基本信息

价格
免费
系统要求
macOS 13 起
芯片
Apple 芯片 · Intel
自动更新
否
仓库
开源 · AGPL-3.0 · 0 天前更新★3.9万
开发者
Trilium Notes Team
Homebrew
可以安装,由 Homebrew 更新
其他名称
triliumnext-notes, trilium-notes
主页
triliumnext.github.io/Docs
软件包标识符
trilium-notes

核查日期

1.2.0-rc1 更新内容

新版本 · 来自 GitHub Release

[!IMPORTANT] The extension keeps working with older Trilium versions. A few features also need Trilium v0.107.0 or newer (not yet released, however a nightly can be used if desired), marked with 🆕 Trilium v0.107 below. Saving a PDF is the only one that refuses to run on an older server; it asks you to update Trilium instead.

For Chrome instructions: https://docs.triliumnotes.org/user-guide/setup/web-clipper#for-chrome The Firefox the instructions are out of date, there the process is just to click on the file and it will immediately ask whether to install it.


✨ What's new

👀 See what you save before saving it

The popup is redesigned around a preview card: the note's title (editable), the website, and a preview of the content.

  • Modes, offered only when they apply: Selection when text is selected, Page when the page can be read, PDF on a PDF tab, and Bookmark always. The card opens on the most specific one.
  • Article or whole page. Page mode has an Article / Whole page switch. Whole page keeps galleries, dashboards and card grids that article extraction would trim away (#9611). The keyboard shortcut and the context menu save the article, or the whole page when there is no article, instead of failing.
  • A note about the page in every mode (#5350). A text box at the top of the card holds your note. It is placed above the clipped content as a note admonition. Ctrl+Enter saves from any field.
  • Bookmark replaces "Link with a note". The title is a field of its own instead of being guessed from your note's first sentence, so titles no longer break on "e.g." or "v1.2".
  • Code in the preview is styled like the share theme and set in JetBrains Mono (#2092). Embedded YouTube videos show as a chip instead of a player that cannot run.
  • The outcome stays in the popup. "Saving to Trilium…", then Open note (and Close saved tabs after saving tabs), or the reason it failed. This also works where no notification can appear on the page: browser pages, extension stores and Firefox's PDF viewer.
  • Pages the extension cannot read say so and offer what still works, instead of failing silently.

📄 Better page extraction

  • Pages are now read with Defuddle instead of Readability. It keeps the lead image that news sites put outside the article body and drops duplicate responsive copies of the same picture (#2621).
  • The extractor loads only when a page is actually read, not on every page you visit. The script that runs on each page is now 11 kB.
  • Saving works in tabs that were open before the extension was installed or updated.

📸 Full-page screenshots

A new Full page capture, available from the popup, the context menu and a bindable shortcut.

  • Fixed headers, cookie banners and chat buttons appear once, not in every slice. Sticky elements stay in place, and scrollbars are left out.
  • Long pages are saved as several images of at most 8,192 px each, up to 100 captures. If a page is cut off, the clipper says so.
  • In Firefox, the page is captured without scrolling through it.
  • Screenshots are shrunk by width only, so a tall page is no longer squeezed into a thin strip. 🆕 Trilium v0.107
  • The capture buttons are renamed after what they capture: Area, Visible, Full page and All tabs.

📑 Save PDFs (#1209)

On a tab showing a PDF, the popup offers a PDF mode. The PDF is downloaded with your cookies (so a PDF behind a login works) and saved as a file note, which Trilium opens in its PDF viewer and indexes for search. The "save whole page" shortcut and context menu entry also save the PDF. 🆕 Trilium v0.107

🏷️ Page metadata

Clips now carry the page's metadata as labels. You can search for them, show them as table columns, and they are updated (not duplicated) when the same page is clipped again (#802).

Label From Saved on
#pageDescription the page's description meta tags every clip of the page: page, selection, screenshot, image, bookmark
#pageAuthor meta tags, schema.org data, the byline page clips
#publishedDate / #modifiedDate meta tags, with the article's own date as a fallback page clips

Description and author can be edited in the popup before saving.

🗂️ In Trilium 🆕 Trilium v0.107

  • Clip icons: clippings show an icon for what was clipped (paperclip for clippings, globe for pages, bookmark for bookmarks, window for tabs). Your own #iconClass still wins.
  • "Web clip" badge: the badge opens a panel with the page's address, description, author and dates.
  • Saved tabs become link previews: when Autogenerate link previews is on, each tab is saved as a link mention with its title and favicon, taken from the browser rather than fetched again.
  • Embedded YouTube videos in a clipped page are kept as link previews with title, channel and thumbnail (#1449). Before, they disappeared entirely.

🛠️ Improvements

  • Errors are explained. Every failure now ends in a notification that says what to start, check or update, instead of nothing happening.
  • Failed image downloads are reported. The notification counts the images that could not be downloaded, and those images keep pointing at the website so they still show.
  • Two-factor authentication: the options page has an Authentication code field, and the error says whether the password or the code was wrong. 🆕 Trilium v0.107 (for the distinct error)
  • The popup is rebuilt in the Next theme, with a status bar at the bottom for the connection and shortcuts drawn as key caps.
  • The Save tabs and Full page commands can be bound to a shortcut from the browser's extension shortcut settings.

🐞 Bug fixes

These were problems in v1.1.1 and earlier.

Connecting

  • Logging in failed with "Incorrect credentials" on servers with TOTP / two-factor authentication enabled (#9286).
  • The popup kept switching from "connected" back to "searching" (#1503).
  • A server URL with a trailing **/** did not work, by @bartv2.
  • The options page named the wrong desktop port (37740 instead of 37840).

Saving

  • Failed saves were silent: for example, Ctrl+Shift+S with the desktop app closed did nothing at all.
  • Cropped screenshots failed to upload in some versions of Chrome (#8528).
  • A cropped area was captured wrong when the drag crossed back over its starting point.
  • The save tabs shortcut was never registered, so it could not be bound.
  • Saving tabs failed entirely when one tab had no URL (for example, one still loading), and HTML in tab titles was saved as markup.
  • Every save of tabs after the first was appended to the first tabs note instead of creating a new one. 🆕 Trilium v0.107
  • Clipping a page that was already clipped cloned its note back into the inbox, even after you had moved it elsewhere, by @contributor. 🆕 Trilium v0.107

Content

  • Images that could not be downloaded were saved as broken images, and an HTTP error page could be saved in place of a picture, while the notification reported success.
  • Lazy-loaded images in a selection were saved as empty placeholders.
  • URL-encoded inline images (such as SVGs) were saved as garbage (#2621).
  • mailto:, tel:, ftp: and magnet: links were turned into broken web addresses.
  • Clips' dates were an hour off in time zones without a whole-hour offset (India, for example).
  • #publishedDate and #modifiedDate could be one day off from the date the page states.
  • Label values containing & were stored as &. 🆕 Trilium v0.107

🧰 Under the hood

  • The popup and the options page are rewritten in Preact, sharing the Trilium app's stylesheets.
  • The extension now has a test suite, held at 100% line and branch coverage in CI.
  • New scripting permission, used to load the extractor on demand. It shows no install warning in Chrome or Firefox, so you are not asked to approve the extension again.
  • The clipper protocol moves to 1.1. Older extensions keep working with new Trilium versions, and the new extension keeps working with older ones, except for saving PDFs.

📖 Full guide: https://docs.triliumnotes.org/user-guide/setup/web-clipper

如何在 Mac 上安装 TriliumNext Notes

Homebrew 会把应用安装到“应用程序”文件夹。

不用 Homebrew 安装

按芯片下载 Homebrew 使用的文件: 安装细节

卸载 TriliumNext Notes 与可选的数据清理

卸载命令
brew uninstall --cask trilium-notes

普通卸载会删除应用本身,设置和缓存会保留。

深度清理(可选)
卸载命令
brew uninstall --zap --cask trilium-notes

--zap 还会删除 Homebrew 定义里列出的设置、缓存等文件,其中可能有其他应用共用的数据,删除后无法恢复;它也不保证没有任何残留。请先备份需要保留的数据;如要保留设置和缓存,请不要加 --zap。

关于 TriliumNext Notes 的常见问题

TriliumNext Notes 安全吗?

TriliumNext Notes 收录在 Homebrew 官方软件库中,没有被停用。自 2026 年 9 月起,Homebrew 会停用没有通过 macOS Gatekeeper 检查的应用。安装时,Homebrew 会用 SHA-256 校验值核对来自 github.com 的安装包。过去 30 天,它通过 Homebrew 安装了 130 次。

TriliumNext Notes 免费吗?

是的,TriliumNext Notes 可以免费使用。来源:github.com/TriliumNext/Trilium,核查于 2026年10月25日。

TriliumNext Notes 是开源软件吗?

TriliumNext Notes 的源代码公开在 GitHub 上(TriliumNext/Trilium),使用 AGPL-3.0 许可证。

怎样在 Mac 上彻底卸载 TriliumNext Notes?

运行 brew uninstall --cask trilium-notes。要连设置和缓存一起删除,运行 brew uninstall --zap --cask trilium-notes。--zap 还会删除 Homebrew 定义里列出的设置、缓存等文件,其中可能有其他应用共用的数据,删除后无法恢复;它也不保证没有任何残留。请先备份需要保留的数据;如要保留设置和缓存,请不要加 --zap。这会再删除 6 处文件和文件夹,包括 ~/Library/Application Support/trilium-data。

TriliumNext Notes 支持 Apple 芯片(M1 及更新)的 Mac 吗?

支持。Homebrew 会为 Apple 芯片和 Intel 芯片的 Mac 分别下载不同的安装包。需要 macOS 13 或更高版本。

TriliumNext Notes 的设置和数据保存在哪里?

设置保存在 ~/Library/Preferences/com.electron.trilium-notes.plist。数据保存在 ~/Library/Application Support/trilium-data和~/Library/Application Support/TriliumNext Notes。这些位置来自 Homebrew 的清理清单。

TriliumNext Notes 的最新版本是多少?

最新版本是 0.107.0,Homebrew 收录于 2026年11月8日。运行 brew upgrade --cask trilium-notes 即可更新。

相似应用

  • Antinote一款 macOS 临时便笺工具,可用于记录短期笔记、计算、清单和快速导出。
  • WorkFlowy适用于 macOS 的桌面笔记应用;Homebrew cask 也提供 Linux AppImage。
  • Twine无需编写代码即可创作交互式非线性故事,并直接发布为 HTML。
  • LanguageTool for Desktop一款 macOS 桌面应用,可在受支持的应用中写作时提供拼写、语法、标点和文风建议。
查看更多