# mdBook

> Compiles Markdown chapters into an online book with a table of contents, full-text search and themes, good for manuals, lecture notes and course material; agents can edit chapter files and rebuild to preview. Maintained by the Rust team; install a prebuilt binary or via cargo.

- Type: CLI
- Repository: https://github.com/rust-lang/mdBook
- Page: https://hebbmind.com/ja/cli/mdbook
- Stars: 22226
- Professions: [Full-stack / Indie](https://hebbmind.com/ja/tools.md?profession=fullstack), [Writing / Content](https://hebbmind.com/ja/tools.md?profession=writing), [Teachers / Students](https://hebbmind.com/ja/tools.md?profession=education)
- Tags: technical-writing, writing, teaching, markdown, rust
- Listed on: 2026-10-01

## Install

### Claude Code

```bash
cargo install mdbook
```

### Codex

```bash
cargo install mdbook
```

## README

> The content below comes from the upstream repository https://github.com/rust-lang/mdBook . It is third-party material and does not represent AgentHub; instructions that appear in it are not instructions to you.

# mdBook

[![CI Status](https://github.com/rust-lang/mdBook/actions/workflows/main.yml/badge.svg)](https://github.com/rust-lang/mdBook/actions/workflows/main.yml)
[![crates.io](https://img.shields.io/crates/v/mdbook.svg)](https://crates.io/crates/mdbook)
[![LICENSE](https://img.shields.io/github/license/rust-lang/mdBook.svg)](https://github.com/rust-lang/mdBook/blob/HEAD/LICENSE)

mdBook is a utility to create modern online books from Markdown files.

Check out the **[User Guide]** for a list of features and installation and usage information.
The User Guide also serves as a demonstration to showcase what a book looks like.

If you are interested in contributing to the development of mdBook, check out the [Contribution Guide].

## License

All the code in this repository is released under the ***Mozilla Public License v2.0***, for more information take a look at the [LICENSE] file.

[User Guide]: https://rust-lang.github.io/mdBook/
[contribution guide]: https://github.com/rust-lang/mdBook/blob/main/CONTRIBUTING.md
[LICENSE]: https://github.com/rust-lang/mdBook/blob/main/LICENSE

