gitbook-cli

Installation
SKILL.md

GitBook CLI

The gitbook command (from the @gitbook/cli npm package) builds and publishes integrations on GitBook.com and publishes OpenAPI specs to a GitBook organization. This is the integration-platform CLI, not the legacy gitbook-cli book builder.

Setup

Install globally to get the gitbook command anywhere:

npm install -g @gitbook/cli

Or run it without installing:

npx @gitbook/cli <command>

Authenticate before running any command that talks to GitBook (everything except help). Without a valid session, those commands will fail.

Installs
3
First Seen
Jun 20, 2026
gitbook-cli — gitbookio/skills