# Notion CLI

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

> This is the Markdown version of the Notion CLI page on OpenNavo, with the same facts as the web page: <https://opennavo.com/apps/notion-cli>

- **Latest version**: `0.23.31`
- **Developer**: Notion Labs, Inc.
- **Homepage**: <https://www.notion.com/product/dev>
- **Categories**: [Writing & Notes](https://opennavo.com/categories/writing)
- **Install**: `brew install --cask notion-cli`
- **30-day installs**: 536
- **Homebrew**: Available; updated by Homebrew
- **Download URL**: <https://ntn.dev/releases/v0.23.31/ntn-aarch64-apple-darwin.tar.gz>
- **SHA-256**: `b83331f482c43d109e5f5c48b8c5f3c3bf63a06f06844437193801e8f23ef1d5`
- **Commands**: ntn

SHA-256 only checks that the download is complete; it is not a security certification.

## Installation and removal contents

```json
[
  {
    "declaration": {
      "binary": [
        "ntn-aarch64-apple-darwin/ntn"
      ],
      "target": "$HOMEBREW_PREFIX/bin/ntn"
    },
    "phase": "install",
    "sources": [
      "ntn-aarch64-apple-darwin/ntn"
    ],
    "target": "$HOMEBREW_PREFIX/bin/ntn",
    "type": "binary"
  },
  {
    "declaration": {
      "zap": [
        {
          "trash": "~/.notion"
        }
      ]
    },
    "phase": "cleanup",
    "sources": [],
    "type": "zap"
  }
]
```

## About

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.25. 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
- https://developers.notion.com/cli/get-started/overview
- https://www.notion.com/product/dev
- https://ntn.dev
- https://registry.npmjs.org/ntn/0.23.25
- https://github.com/Homebrew/homebrew-cask/blob/HEAD/Casks/n/notion-cli.rb

## System requirements

- Build for macOS 27, 26, 15, 14, 13, 12, 11 · Version: 0.23.31 · Intel · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/n/notion-cli.rb> · Checked 2026-11-24
  - <https://ntn.dev/releases/v0.23.31/ntn-x86_64-apple-darwin.tar.gz>
  - SHA-256: `15dd7b5475568b4230c3e64233fca4a494f9d748c40403c55a2880604bd81458`
- Build for macOS 27, 26, 15, 14, 13, 12, 11 · Version: 0.23.31 · Apple silicon · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/n/notion-cli.rb> · Checked 2026-11-24
  - <https://ntn.dev/releases/v0.23.31/ntn-aarch64-apple-darwin.tar.gz>
  - SHA-256: `b83331f482c43d109e5f5c48b8c5f3c3bf63a06f06844437193801e8f23ef1d5`

## Uninstall

- `brew uninstall --cask notion-cli`

A regular uninstall removes the app and keeps its settings and caches.

### Deep clean (optional)

- `brew uninstall --zap --cask notion-cli`

`--zap` also deletes the settings, caches and other files listed in the Homebrew definition. They can include data shared with other apps and cannot be restored, and it does not guarantee that nothing is left. Back up any data you need first. To keep settings and caches, leave out `--zap`.

A regular uninstall removes the app and keeps its settings and caches.

- Files and folders: `~/.notion` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/n/notion-cli.rb> · These entries come from the Homebrew definition, checked 2026-11-24. They say what it declares, not what is on your Mac.

## Facts and sources

- <https://opennavo.com/apps/notion-cli>
- <https://opennavo.com/apps/notion-cli/versions>
- <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/n/notion-cli.rb> · Checked 2026-11-24
- <https://formulae.brew.sh/cask/notion-cli>
