Step 1: Install the GitBook CLI

The GitBook Development CLI requires Node v18 or later. It can be installed from NPM using:

npm install @gitbook/cli -g

Step 2: Authenticate with your account

Create an API token in your GitBook.com at app.gitbook.com/account/developer.

Then run the following command to authenticate locally:

gitbook auth

Step 3: Bootstrap your app

Bootstrap your first app by running:

gitbook new

Last updated