Notion CLI (ntn)

Automates Notion API interactions from the terminal via CLI.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/Buckeyes22/weather-app --skill notion-cli-ntn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Notion CLI (ntn)
Source: https://github.com/Buckeyes22/weather-app/tree/main/docs/corpora/agent-cli-skills/skills/ntn
Command: npx skills add https://github.com/Buckeyes22/weather-app --skill notion-cli-ntn

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Notion automation and API access from the terminal reduces the friction of using the web UI for routine tasks like creating or querying pages, managing databases, uploading files, and deploying Notion Workers.

Core Features & Use Cases

  • Authenticate and manage access to Notion via a CLI token
  • Create, query, and update Notion pages and databases from scripts
  • Upload files to Notion and deploy Notion Workers for automation workflows

Quick Start

Authenticate with ntn and begin managing Notion pages, databases, and Workers from the command line.

Frequently Asked Questions about Notion CLI (ntn)

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Notion API interactions from the terminal?

You can automate Notion API interactions from the terminal by using a CLI tool that authenticates via a token to create, query, and update pages and databases. This enables repeatable scripts for routine admin workflows without the web UI.

How do I authenticate with the Notion API using a command line interface?

Notion API authentication via a command line interface requires setting a NOTION_API_TOKEN environment variable. Once configured, standard login utilities allow you to securely authenticate and manage access for automated terminal workflows.

Can I upload files to Notion databases using a CLI?

Yes, you can upload files to Notion databases using a CLI. The command line tool supports file uploads alongside creating, querying, and updating pages, allowing you to manage database content entirely from terminal scripts.

What is the best way to deploy Notion Workers for automation workflows?

The best way to deploy Notion Workers for automation workflows is using a CLI designed for Notion API management. It allows you to deploy Workers directly from the terminal, integrating automated tasks into your standard script workflows.

Do I need a global CLI tool environment to manage Notion pages and databases?

Yes, managing Notion pages and databases from scripts requires a global CLI tool environment. This setup relies on a NOTION_API_TOKEN and standard login utilities to ensure secure, repeatable automation for your admin workflows.

Notion CLI not working: what token environment variables are required?

If your Notion CLI is not working, ensure the NOTION_API_TOKEN environment variable is correctly set. The CLI relies on this token and a global environment configuration to authenticate and execute API commands successfully.