The GitBook Development CLI requires Node v18 or later. It can be installed from NPM using:
npm install @gitbook/cli -g
Create an API token in your GitBook.com at app.gitbook.com/account/developer.
Then run the following command to authenticate locally:
gitbook auth
Bootstrap your first app by running:
gitbook new