← Back to Docs | Claude Code → | Basic Installation →
installation/
├── README.md # This file - installation documentation hub
├── BASIC_INSTALLATION.md # Standard pip installation guide
├── GETTING_STARTED.md # First steps after installation
├── TROUBLESHOOTING.md # Platform-specific troubleshooting
├── VIRTUAL_ENVIRONMENTS.md # Virtual environment setup guide
├── JUPYTER_SETUP.md # Jupyter notebook configuration
├── DEVELOPER_SETUP.md # Development environment setup
├── USING_GIT.md # Git tutorial and GitHub workflow
├── CLAUDE_CODE.md # AI-assisted installation with Claude Code
└── CLAUDE_TEMPLATE.md # Claude Code project templates
This directory provides comprehensive installation guides for the ModelChecker framework, organized by use case to help users quickly find the information they need. Each guide focuses on a specific installation scenario, from basic pip installation to full development setup with Jupyter integration.
The documentation covers 7 installation scenarios: AI-assisted installation with Claude Code, standard pip installation, troubleshooting common issues, virtual environment setup, Jupyter notebook configuration, getting started guide, and developer environment setup. This modular approach ensures users can follow only the guides relevant to their needs without navigating unrelated content.
Installation options range from the simple pip install model-checker for basic usage to complete development environments with editable installs and testing frameworks. Special attention is given to platform-specific considerations (Windows, macOS, Linux, NixOS) and Python environment management to ensure successful installation across diverse systems.
After installing ModelChecker, verify it's working:
# Test basic import
from model_checker import get_theory
# Load a theory
theory = get_theory('logos')
# Quick validity check
premises = ["A", "A \\rightarrow B"]
conclusions = ["B"]
result = theory.check_validity(premises, conclusions)
print(f"Valid: {not result}") # Should print: Valid: True# Verify installation
model-checker --version
# Run an example
model-checker examples/modus_ponens.py
# With specific settings
model-checker examples/test.py --contingent --save json# Clone and install for development
git clone https://github.com/benbrastmckie/ModelChecker.git
cd ModelChecker/Code
pip install -e .
# Run tests
./run_tests.py --unitFor complete examples, see Getting Started.
This directory contains only installation guide files (no subdirectories). Each guide serves a specific installation need:
- BASIC_INSTALLATION.md - Standard pip installation for most users, including prerequisites, installation options, and Python setup
- GETTING_STARTED.md - First steps after installation, including creating examples, understanding output, and common workflows
- TROUBLESHOOTING.md - Solutions for platform-specific issues, common errors, and debugging installation problems
- VIRTUAL_ENVIRONMENTS.md - Creating isolated Python environments for clean installations and project management
- JUPYTER_SETUP.md - Configuring Jupyter notebooks with widgets for interactive ModelChecker development
- DEVELOPER_SETUP.md - Complete development environment with editable installs, testing setup, and contribution preparation
- USING_GIT.md - Git tutorial and GitHub workflow for version control beginners
- CLAUDE_CODE.md - AI-assisted installation using Claude Code CLI - recommended for beginners and automated setup with GitHub integration
- CLAUDE_TEMPLATE.md - Project templates for Claude Code users
- Claude Code Setup - Recommended: AI-assisted installation with automated setup
- Basic Installation - Manual installation for those preferring traditional approach
- Getting Started - First steps and simple examples
- Troubleshooting - When things go wrong
- Jupyter Setup - Complete notebook configuration
- Virtual Environments - Recommended for Jupyter
- Interactive Notebooks - Example notebooks
- Developer Setup - Full development environment
- Development Guide - Contribution workflow
- Testing Guide - Running the test suite
- AI-Assisted: Use Claude Code to automate the entire process - recommended for beginners
- Standard:
pip install model-checker- Basic installation - Jupyter:
pip install model-checker[jupyter]- With notebook support - All:
pip install model-checker[all]- Everything included - Development: Editable install from cloned repository
- Windows - Special considerations for
pyvspython - macOS - Certificate updates and Homebrew options
- Linux - Distribution-specific package managers
- NixOS - Declarative
shell.nixconfiguration
- Virtual environment creation and activation
- Jupyter kernel registration
- Requirements file generation
- Clean uninstallation procedures
- Python Downloads - Official Python installers
- pip Documentation - Python package installer guide
- Virtual Environments - Python venv documentation
- Usage Guide - Using ModelChecker after installation
- Theory Library - Available theories
- Architecture - How ModelChecker works