Install Book Environment Dependencies
This MicroSim visualizes the dependency graph for setting up an intelligent textbook development environment. It shows all the software components required to build a book using MkDocs Material and Claude Skills.
Copy this iframe to embed in your website:
1 | |
Reading the Graph
- Arrows point in the direction of dependency - if A has an arrow to B labeled "DEPENDS_ON", then A depends on B
- Navigate from right to left to see what needs to be installed first
- Hover over nodes to see descriptions of each component
Dependency Layers
The graph is organized into layers from left (foundational) to right (goal):
| Layer | Components | Description |
|---|---|---|
| Foundation | Permissions | User permissions to install software |
| System | Unix Shell, File System | Basic OS capabilities |
| Runtime | Python 3.10+, Node.js, Git | Language runtimes and tools |
| Package Manager | pip, npm | Package installation tools |
| Python Packages | MkDocs, Material, PyMdown | Documentation framework |
| Claude Tools | Claude Code, GitHub Repo, Claude Skills | AI-assisted development |
| Goal | Build Book | The final output |
Installation Order
To set up the environment, install components in this order:
- Ensure you have proper permissions on your system
- Open a Unix shell (Terminal on macOS/Linux, WSL on Windows)
- Install Python 3.10+, Node.js, and Git
- Use pip to install MkDocs packages:
1pip install mkdocs mkdocs-material pymdown-extensions - Use npm to install Claude Code:
1npm install -g @anthropic-ai/claude-code - Clone the GitHub repository with Claude Skills
- Configure Claude Skills in your project
- Build the book using
mkdocs buildormkdocs serve
Lesson Plan
Target Audience: Developers, technical writers, and educators new to intelligent textbook development
Learning Objectives:
- Understand the software dependencies required for building intelligent textbooks
- Recognize the layered architecture of development environments
- Identify the installation order for setting up the environment
Prerequisites:
- Basic familiarity with command-line interfaces
- Understanding of package managers (pip, npm)
Activities:
- Exploration (5 min): Interact with the dependency graph, hovering over nodes to understand each component's role
- Trace Dependencies (5 min): Starting from "Build Book," trace backwards to identify all required components
- Hands-On Setup (20 min): Follow the installation order to set up the environment on your machine
- Discussion (5 min): Why do certain components depend on others? What happens if a dependency is missing?
Assessment:
- Can the student explain why Python must be installed before pip?
- Can the student successfully run
mkdocs serveafter completing the installation?
References
- MkDocs Documentation - Official documentation for the MkDocs static site generator
- Material for MkDocs - Documentation for the Material theme with advanced features
- Claude Code Documentation - Official guide for Claude Code CLI tool
Developer Notes
Operating system dependencies not shown: This diagram does not include all dependencies for every operating system. For example, on macOS, Claude Code is typically installed via Homebrew, which requires Xcode Command Line Tools to be installed first. This additional installation step can take approximately 15 minutes.
vis-network edge label bug: vis-network has a rendering bug with edge labels on perfectly horizontal edges (where both nodes share the same y-coordinate). The label may not appear on initial load but becomes visible after any node interaction. The workaround is to apply a slight y-offset between connected nodes to give the edge enough angle for the label to render correctly on initial load.