GitBook (legacy CLI)
Command-line tool and Node.js library that builds books and static websites from Markdown or AsciiDoc.
www.gitbook.comrepositorydocspricing
GitBook (legacy CLI) is a command-line tool and Node.js library for building books and static websites from Markdown or AsciiDoc. It is installed with npm as gitbook-cli, and a book is built with gitbook build on the developer’s machine. The output is static files that any web space can serve.
Worth knowing
The legacy README says the CLI “is no longer under active development”, and the npm package gitbook is marked as no longer supported. The repository’s main branch holds a different project, the renderer for GitBook’s published content, which this record does not describe.
Identity
Rendering and deploy
- Runs as
- Dev only, Static files2
- Rendering
- Static output5
- Install with
- npm install gitbook-cli -g5
Releases
Adoption
Sources
- 2026-10-25: Written in, links, First release, GitHub stars
api.github.com/repos/GitbookIO/gitbook - 2026-10-22: Status, Categories, Runs as, License, License model, Multilingual
raw.githubusercontent.com/GitbookIO/gitbook/legacy/README.md - 2026-10-22: Status
raw.githubusercontent.com/GitbookIO/gitbook/main/README.md - 2026-10-22: Status, links, License
registry.npmjs.org/gitbook/latest - 2026-10-22: links, Runtime, Install with, Rendering
raw.githubusercontent.com/GitbookIO/gitbook/legacy/docs/setup.md - 2026-10-22: Maintainer, links
www.gitbook.com/pricing - 2026-10-22: Current major version
api.github.com/repos/GitbookIO/gitbook/tags - 2026-10-22: Last release
registry.npmjs.org/gitbook-cli/latest - 2026-10-22: Contributors
api.github.com/repos/GitbookIO/gitbook/contributors - 2026-10-22: npm downloads a week
api.npmjs.org/downloads/point/last-week/gitbook-cli - 2026-10-25: Dependent repositories, Dependent packages
packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/gitbook-cli