Install the CLI
Install the GitBook CLI to build and publish integrations
Last updated
Was this helpful?
Install the GitBook CLI to build and publish integrations
Last updated
Was this helpful?
Was this helpful?
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:
After installing the CLI, you’ll need to authenticate your user in order to create and publish an integration.
To authenticate your user, run:
This will prompt you to add your developer token from your GitBook account. You can generate a personal developer token in your .
After authenticating your user, you’ll be able to bootstrap an integration, publish an integration, and more. Refer to the to learn more about building an integration using the CLI.
npm install @gitbook/cli -ggitbook auth