# notion-cli を Homebrew Cask でインストール

notion-cli のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install cask:notion-cli
```

追加のインストールコマンド:

### macOS

- Homebrew Cask (100%):

```sh
brew install --cask notion-cli
```

  証拠: local Homebrew cask metadata

## パッケージ情報

- **パッケージキー:** cask:notion-cli
- **パッケージマネージャ:** Homebrew Cask
- **バージョン:** 0.21.7
- **ソース概要:** Command-line interface for Notion
- **ホームページ:** <https://www.notion.com/product/dev>
- **最終更新:** 2026-08-01T05:07:40Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- ntn (バイナリ)
- ntn (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 0.21.7
## プロジェクトの歴史と使われ方

Notion CLI, installed as `ntn`, is Notion's official developer command-line tool for authenticating to a workspace, managing Notion Workers, making authenticated Notion API requests, and uploading files.

### プロジェクトの歴史

The official Notion CLI docs introduce `ntn` as the Notion CLI and document script, npm, Winget, and source-build installation paths. The official installation page points developers to the `makenotion/cli` GitHub repository for building from source.

### 採用の歴史

The Homebrew cask packages Notion CLI 0.18.1 from ntn.dev release archives and installs the `ntn` binary. Homebrew cask analytics in July 2026 report 571 installs over both 90 and 365 days, suggesting early but active package-manager adoption for Notion's developer platform.

### 使われ方

Users install `ntn`, verify with `ntn --version`, authenticate with `ntn login`, then run workflows such as `ntn workers new`, `ntn workers deploy`, `ntn api v1/users`, and `ntn files create`. The command reference documents environment overrides including `NOTION_API_TOKEN`, `NOTION_WORKSPACE_ID`, `NOTION_KEYRING`, `NOTION_HOME`, and `NOTION_WORKERS_CONFIG_FILE`.

### パッケージ好きにとっての重要性

Notion CLI is notable as a modern vendor CLI distributed across shell installer, npm, Winget, source builds, and Homebrew cask, with local keychain-backed auth and project-level Worker config.

### タイムライン

- 2026: Homebrew cask metadata packages Notion CLI 0.18.1.
- 2026-07: Homebrew cask API reports 571 installs over 365 days.

### Related projects

- Notion API, Notion Workers, Notion MCP, npm package ntn, Winget package Notion.ntn

### ソース

- <https://developers.notion.com/cli/get-started/authentication.md>
- <https://developers.notion.com/cli/get-started/installation.md>
- <https://developers.notion.com/cli/get-started/overview.md>
- <https://developers.notion.com/cli/reference/commands.md>
- <https://formulae.brew.sh/api/cask/notion-cli.json>


## セキュリティノート

notion-cli に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: workers.json, $NOTION_HOME/config.json, $XDG_CONFIG_HOME/notion/config.json, ~/.config/notion/config.json, ~/.notion/config.json

## Credential files

- Unix: $NOTION_HOME/auth.json, $XDG_CONFIG_HOME/notion/auth.json, ~/.config/notion/auth.json, ~/.notion/auth.json
## 他のパッケージマネージャ記録

- winget - Notion.ntn: installed executable or alias match | Windows Package Manager source index: Notion.ntn from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

View the package source record on GitHub. [combined/notion-cli.yml](https://github.com/mxcl/pkgdb/blob/main/combined/notion-cli.yml)


## ソース

- pkg.so package database
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
