Skip to main content
The Genseo CLI is distributed as the public npm package @genseo/cli. It uses the same project-bound access model as the Public API.

Install

Install globally when you want the genseo command available everywhere:
Or run without a global install:
Use npx for quick tests, CI jobs, or machines where you do not want a global package. Use global install for everyday local use.

Login

Browser-based login uses OAuth Device Flow:
The CLI prints a URL like this:
Open it, choose the project, and approve access. The CLI stores the returned project-bound key in:
Manual API-key login is also supported:
You can also use environment variables:

Logout

Identity

Use this after login to confirm which project the CLI can access.

Project

The CLI intentionally works with one authorized project at a time. It does not list all projects and it does not create projects.

Keywords

Posts

Publishing requires a configured integration. Ask the user before publishing unless autonomous publishing is explicitly enabled.

Integrations

Webhooks

Output

Most commands return JSON. Async generation commands may return accepted responses while work continues in Genseo.