Skip to main content
The Notra CLI gives you scriptable access to your workspace when installed. This repository currently does not include a CLI package, so treat these commands as the intended public CLI interface rather than local monorepo commands.

Install

You can also run any command without installing using bunx notra <command> or npx notra <command>. Verify the install:

Authentication

The CLI authenticates with a Notra API key. You have three options.

Browser-based login

This opens the dashboard, has you confirm the new key, and writes it to local config.
Use notra auth login --no-browser on a remote machine to print the URL instead of opening a browser.

Paste an existing key

Prompts for your API key interactively, or pass it directly:

Per-command override

Skip stored config entirely with the NOTRA_API_KEY env var or a --api-key flag:
Manage keys yourself in Developer → API Keys in the dashboard. See Authentication for details.

Configuration

Local config lives at ~/Library/Preferences/notra-cli-nodejs/config.json (macOS) or the platform equivalent.
Sign out to remove the stored key:

Quickstart

Posts

Manage generated content.

List with filters

Read a post

Generate content

--wait polls until the job finishes. Drop it to return the jobId immediately and check later with notra posts status <jobId> --watch.

Update content

Delete

Brand identities

Manage brand identities and run brand-identity generation jobs.

Generate from a website

Update settings

Tone options: Conversational, Professional, Casual, Formal.

Integrations

Connect GitHub repositories and manage existing Linear integrations. Slack is planned.

Connect a repository

A token is only required for private repos without an installed GitHub App.

Schedules

Manage cron-based content-generation schedules.

Create a schedule

For weekly/monthly schedules, pass --day-of-week (0-6) or --day-of-month (1-31).

From a JSON file

Global flags

These work on every command:
Pipe --json output through jq for scripting:

Source

The CLI is open source and lives alongside the rest of Notra. See the Notra GitHub repository for the source and to report issues.
Last modified on July 6, 2026