Notion CLI

Notion Labs, Inc. · The official Notion command-line client for workspace authentication, API requests, data-source management, file uploads and deploying Notion Workers.

Cask寫作與筆記Apple 晶片 · Intel
主頁
來自 homebrew/cask
近 30 天安裝
282
App榜第 503
近一年安裝
1309
365 天累計
最新版本
0.23.25
昨天 · 10月22日
下載大小
5.6MB
arm64 / x86_64 · gz
更新節奏
每天
近 30 天 14 個版本

Notion CLI 是一款寫作與筆記類 Mac 軟體。開發者是 Notion Labs, Inc.。

基本資訊

晶片
Apple 晶片 · Intel
開發者
Notion Labs, Inc.
安裝命令
brew install --cask notion-cli
Homebrew
可以安裝,由 Homebrew 更新
其他名稱
notion-cli

以上資訊最早核查於 。檢視各項來源

介紹

Notion CLI (ntn) is Notion’s terminal client for authenticating with a workspace, making API requests, and deploying and managing Notion Workers. This Homebrew package installs a command-line executable, not the Notion desktop application.

Terminal workflows

Use ntn api to make authenticated Notion API requests with inline JSON construction and shell completion. The official overview demonstrates retrieving users, creating pages and patching page properties. The CLI also supports creating, querying and managing data sources, and uploading static assets such as images and PDFs through ntn files.

Notion Workers

Workers are small TypeScript programs that extend Notion with syncs, tools and webhooks. ntn workers new scaffolds a project, ntn workers deploy builds and uploads it, and ntn workers list lists deployed Workers. These hosted capabilities are distinct from the local CLI executable and depend on the workspace’s available platform features.

Installation and authentication

Install the recorded macOS package with brew install --cask notion-cli and check ntn --version. The official ntn login flow opens a browser for workspace authorization and stores credentials in the system keychain. Homebrew distributes separate Apple-silicon and Intel archives. The official installer also supports macOS and Linux and checks a published SHA-256 checksum before installing the binary.

The catalog records version 0.23.19. Its release artifact and official npm metadata establish the version, but an exact-version changelog was not found; no particular feature change is inferred from this build number. No public CLI source-code repository is established by these sources.

Sources

系統要求

macOS應用版本晶片下載來源
適用於 macOS 27, 26, 15, 14, 13, 12, 11 的版本0.23.25Intelntn.dev/releases/v0.23.25/ntn-x86_64-apple-darwin.tar.gzSHA-256 eca69bc0bf6f4a26c8aff8608d779aeba9233d77801d962d15e9d8fc45c1b5bbHomebrew核查於
適用於 macOS 27, 26, 15, 14, 13, 12, 11 的版本0.23.25Apple 晶片ntn.dev/releases/v0.23.25/ntn-aarch64-apple-darwin.tar.gzSHA-256 53196c36f98fbf94f56837dd5997872b51baf5226824c3cbd8cf7dc1f966ea5cHomebrew核查於

如何在 Mac 上安裝 Notion CLI

  1. 在「終端機」中執行: brew install --cask notion-cli

不用 Homebrew 安裝

按晶片下載 Homebrew 使用的檔案: Apple 晶片Intel

SHA-256 只用來核對下載的檔案是否完整,不代表安全認證。 檢視 SHA-256 和下載網址

解除安裝 Notion CLI 與可選的資料清理

解除安裝命令
brew uninstall --cask notion-cli

普通解除安裝會刪除應用本身,設定和快取會保留。

深度清理(可選)

解除安裝命令
brew uninstall --zap --cask notion-cli

--zap 還會刪除 Homebrew 定義裡列出的設定、快取等檔案,其中可能有其他應用共用的資料,刪除後無法恢復;它也不保證沒有任何殘留。請先備份需要保留的資料;如要保留設定和快取,請不要加 --zap。

Notion CLI 可能留在 Mac 上的檔案(1)
檔案和資料夾
~/.notion

以上條目來自 Homebrew 定義,核查於 ;它們只說明定義宣告會刪除什麼,不代表你的 Mac 上都有。

0.23.25 更新內容

新版本 來自 Homebrew 提交記錄

這個版本沒有單獨的更新說明。

Notion CLI 的安全事實

這裡只列可以核驗的事實,並註明來源和日期,不是安全認證。要檢查你下載的檔案,可以用 OpenNavo 在本機掃描。

分發渠道
Homebrew
用 OpenNavo 掃描會在 OpenNavo 用戶端中開啟掃描預覽,由你決定是否開始。 瞭解安全防護

安裝細節

來源倉庫
homebrew/cask
附帶命令
ntn
下載網址
https://ntn.dev/releases/v0.23.25/ntn-aarch64-apple-darwin.tar.gz
SHA-256
53196c36f98fbf94f56837dd5997872b51baf5226824c3cbd8cf7dc1f966ea5c
Homebrew 定義檔案
github.com/homebrew/homebrew-cask/blob/HEAD/Casks/n/notion-cli.rb
formulae.brew.sh
formulae.brew.sh/cask/notion-cli

安裝與解除安裝內容

  • 安裝 binary

    來源檔案: ntn-aarch64-apple-darwin/ntn

    宣告的目標位置: $HOMEBREW_PREFIX/bin/ntn

    檢視完整宣告
    {
      "binary": [
        "ntn-aarch64-apple-darwin/ntn"
      ],
      "target": "$HOMEBREW_PREFIX/bin/ntn"
    }
  • 清理使用者資料 zap

    檢視完整宣告
    {
      "zap": [
        {
          "trash": "~/.notion"
        }
      ]
    }

關於 Notion CLI 的常見問題

Notion CLI 安全嗎?

Notion CLI 收錄在 Homebrew 官方軟體庫中,沒有被停用。自 2026 年 9 月起,Homebrew 會停用沒有通過 macOS Gatekeeper 檢查的應用。安裝時,Homebrew 會用 SHA-256 校驗值核對來自 ntn.dev 的安裝檔。過去 30 天,它透過 Homebrew 安裝了 282 次。

如何在 Mac 上徹底解除安裝 Notion CLI?

執行 brew uninstall --cask notion-cli。要連設定和快取一起刪除,執行 brew uninstall --zap --cask notion-cli。--zap 還會刪除 Homebrew 定義裡列出的設定、快取等檔案,其中可能有其他應用共用的資料,刪除後無法恢復;它也不保證沒有任何殘留。請先備份需要保留的資料;如要保留設定和快取,請不要加 --zap。這會同時刪除 ~/.notion。

Notion CLI 支援 Apple 晶片(M1 及更新)的 Mac 嗎?

支援。Homebrew 會為 Apple 晶片和 Intel 晶片的 Mac 分別下載不同的安裝檔。

Notion CLI 的設定和資料儲存在哪裡?

資料儲存在 ~/.notion。這些位置來自 Homebrew 的清理清單。

Notion CLI 的最新版本是多少?

最新版本是 0.23.25,Homebrew 收錄於 10月22日。執行 brew upgrade --cask notion-cli 即可更新。

安裝 Notion CLI 還會裝上什麼?

還會裝上 1 個命令列工具:ntn。

來源

頁面上的每項資料都註明來源和核查日期;過期的資料只寫「截至」某日,不再當作當前事實。