Skip to content

Installation Guide

Quick Install Methods

Homebrew (macOS/Linux)

bash
# Install
brew tap mkforge/homebrew-mkforge
brew install mkforge

# Update
brew upgrade mkforge

One-Line Install (Linux/macOS)

bash
# Download and install to /usr/local/bin
curl -L https://mkforge.github.io/releases/latest/mkforge-$(uname -s | tr '[:upper:]' '[:lower:]')-$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/') -o mkforge && chmod +x mkforge && sudo mv mkforge /usr/local/bin/

PowerShell Install (Windows)

powershell
# Download and install
Invoke-WebRequest -Uri "https://mkforge.github.io/releases/latest/mkforge-windows-amd64.exe" -OutFile "mkforge.exe"

# Optional: Add to PATH for easier access
$env:Path += ";$pwd"

Direct Downloads

Note

Direct binary downloads are provided for advanced users or special cases. For most users, we recommend using the installation methods above.

Detecting your platform...

System Requirements

Operating Systems

  • macOS (10.15 or later)
  • Linux (kernel 2.6.23 or later)
  • Windows 10/11

Architecture Support

  • x86_64 (amd64)
  • ARM64 (Apple Silicon, aarch64)

Verifying Downloads

Each release includes SHA-256 checksums for verification:

Linux/macOS

bash
# Download checksum file
curl -O https://mkforge.github.io/releases/latest/checksums.txt

# Verify download (replace filename with your downloaded file)
sha256sum -c checksums.txt --ignore-missing

Windows (PowerShell)

powershell
# Download checksum file
Invoke-WebRequest -Uri https://mkforge.github.io/releases/latest/checksums.txt -OutFile checksums.txt

# Calculate file hash
$hash = Get-FileHash mkforge-windows-amd64.exe -Algorithm SHA256

# Compare with expected hash
Select-String -Path checksums.txt -Pattern $hash.Hash

All Releases

Loading releases...

Uninstallation

bash
brew uninstall mkforge
brew untap mkforge/homebrew-mkforge

Manual Installation

bash
# macOS/Linux
sudo rm /usr/local/bin/mkforge

# Windows PowerShell
Remove-Item mkforge.exe

Configuration Cleanup (Optional)

bash
# Remove global config
rm -rf $HOME/.config/mkforge

# Remove local project configs
rm .mkforge.yaml

Getting Started After Install

  1. Verify installation:
bash
mkforge version
  1. Generate your first project summary:
bash
# Go to your project directory
cd your-project

# Create a project summary
mkforge context
  1. Start using with AI tools:
  • Share the generated context.md with ChatGPT or Claude
  • Ask questions about your code
  • Get more accurate, context-aware answers

Troubleshooting

Common Installation Issues

  1. Permission Denied
bash
# Fix permissions on macOS/Linux
sudo chmod +x /usr/local/bin/mkforge
  1. Command Not Found
bash
# Add to PATH on Windows (PowerShell)
$env:Path += ";C:\path\to\mkforge"

# Add to PATH on macOS/Linux
echo 'export PATH="/usr/local/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc
  1. Version Mismatch
bash
# Update to latest version
brew upgrade mkforge  # Homebrew
mkforge version      # Check current version

Need help? Check our documentation or visit our GitHub repository for support.

Released under the MIT License.