Install the CLI
Install the GitBook CLI to build and publish integrations
The CLI can be used to create, test and publish integrations for GitBook’s integration platform. To start using the CLI, you’ll first need to install it globally on your machine:
npm install @gitbook/cli -gAfter installing the CLI, you’ll need to authenticate your user in order to create and publish an integration.
To authenticate your user, run:
gitbook authThis will prompt you to add your developer token from your GitBook account. You can generate a personal developer token in your GitBook Developer settings.
After authenticating your user, you’ll be able to bootstrap an integration, publish an integration, and more. Refer to the Quickstart to learn more about building an integration using the CLI.
Last updated
Was this helpful?