EMAD (Ecosystem for BMad Method AI Development) can be installed with a single command on any platform:
curl -sSL https://raw.githubusercontent.com/huggingfacer04/EMAD/main/install.sh | bashpowershell -ExecutionPolicy Bypass -c "iwr https://raw.githubusercontent.com/huggingfacer04/EMAD/main/install.ps1 | iex"curl -sSL https://raw.githubusercontent.com/huggingfacer04/EMAD/main/install.bat -o install-emad.bat && install-emad.bat- Python 3.7+ (automatically checked and guided installation)
- Git (for repository management)
- Internet connection (for GitHub integration)
- 10MB disk space (for EMAD system files)
- ✅ Windows 10/11 (PowerShell 5.1+, Command Prompt)
- ✅ macOS 10.15+ (bash, zsh)
- ✅ Ubuntu 20.04+ (bash)
- ✅ CentOS/RHEL 8+ (bash)
- ✅ Debian 10+ (bash)
- ✅ Arch Linux (bash)
- System Detection: Automatically detects OS, package manager, and Python installation
- Dependency Check: Verifies and installs required Python packages (
requests,psutil) - EMAD Download: Clones the complete EMAD system from GitHub
- Interactive Setup: Guides you through configuration with smart defaults
- Project Detection: Automatically detects your project type and optimizes settings
- Configuration Generation: Creates personalized configuration files
- Command Setup: Installs
emadcommand for easy system management - System Start: Launches EMAD background monitoring
- Verification: Runs comprehensive tests to ensure everything works
During installation, you'll be prompted for:
- GitHub Personal Access Token (with scope validation)
- Target Repository Name (with auto-creation option)
- Sync Frequency (hourly, 30min, 15min, on-change)
- Failsafe Sensitivity (strict, balanced, permissive)
EMAD automatically detects and optimizes for:
- Node.js/JavaScript (
package.jsondetected) - Python (
requirements.txt,setup.py,pyproject.toml) - Rust (
Cargo.toml) - Java (
pom.xml,build.gradle) - Go (
go.mod) - Generic (fallback for other project types)
After installation, verify everything is working:
# Check system status
emad status
# Run comprehensive tests
emad test
# View health report
python ~/.emad/emad-health-monitor.pyNavigate to your project directory and initialize EMAD:
cd /path/to/your/project
emad init
emad start# System management
emad start # Start background monitoring
emad stop # Stop background monitoring
emad restart # Restart monitoring
emad status # Show system status
# Configuration
emad config # Show current configuration
emad config --edit # Edit configuration interactively
# Troubleshooting
emad test # Run system tests
emad help # Show help information# Unix/Linux/macOS
export EMAD_INSTALL_DIR="/custom/path"
curl -sSL https://raw.githubusercontent.com/huggingfacer04/EMAD/main/install.sh | bash
# Windows PowerShell
$env:EMAD_INSTALL_DIR = "C:\custom\path"
iwr https://raw.githubusercontent.com/huggingfacer04/EMAD/main/install.ps1 | iex- Download the installer and EMAD repository:
# Download installer
curl -sSL https://raw.githubusercontent.com/huggingfacer04/EMAD/main/install.sh -o install-emad.sh
# Download EMAD repository
git clone https://github.com/huggingfacer04/EMAD.git- Run offline installation:
chmod +x install-emad.sh
EMAD_OFFLINE=true EMAD_REPO_PATH="./EMAD" ./install-emad.shFor automated deployments:
# Unix/Linux/macOS
export EMAD_GITHUB_TOKEN="your_token_here"
export EMAD_REPO_NAME="your-repo-name"
export EMAD_SYNC_INTERVAL="3600"
export EMAD_FAILSAFE_SENSITIVITY="balanced"
curl -sSL https://raw.githubusercontent.com/huggingfacer04/EMAD/main/install.sh | bash -s -- --silentIssue: Python version too old
# Solution: Install Python 3.7+
# Ubuntu/Debian: sudo apt-get install python3.8
# CentOS/RHEL: sudo yum install python38
# macOS: brew install python@3.8
# Windows: Download from python.orgIssue: Permission denied
# Solution: Check permissions and run as appropriate user
# Don't run as root unless necessary
# Ensure user has write access to installation directoryIssue: Network connectivity problems
# Solution: Check firewall and proxy settings
# For corporate networks, configure proxy:
export https_proxy=http://proxy:port
export http_proxy=http://proxy:portIssue: Git not found
# Solution: Install Git
# Ubuntu/Debian: sudo apt-get install git
# CentOS/RHEL: sudo yum install git
# macOS: xcode-select --install
# Windows: Download from git-scm.com# Run comprehensive health check
python ~/.emad/emad-health-monitor.py
# Run installation verification
python ~/.emad/emad-installation-verifier.py
# Check system logs
cat ~/.emad/logs/emad-*.log
# Test GitHub connectivity
python -c "
import requests
token = 'your_token'
r = requests.get('https://api.github.com/user',
headers={'Authorization': f'Bearer {token}'})
print(f'Status: {r.status_code}, User: {r.json().get(\"login\", \"Unknown\")}')
"If installation fails, you can manually recover:
# 1. Clean up partial installation
rm -rf ~/.emad
rm -f ~/.local/bin/emad
# 2. Clear Python cache
python -c "import sys; print(sys.path)" # Check paths
find ~/.local/lib/python*/site-packages -name "*emad*" -delete
# 3. Reinstall
curl -sSL https://raw.githubusercontent.com/huggingfacer04/EMAD/main/install.sh | bash# Update to latest version
cd ~/.emad
git pull origin main
# Restart services
emad restart
# Verify update
emad status# Backup configuration
cp -r ~/.emad/config ~/.emad/config.backup.$(date +%Y%m%d)
# Restore configuration
cp -r ~/.emad/config.backup.YYYYMMDD ~/.emad/configGitHub Actions:
name: EMAD Integration
on: [push, pull_request]
jobs:
emad-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install EMAD
run: curl -sSL https://raw.githubusercontent.com/huggingfacer04/EMAD/main/install.sh | bash
env:
EMAD_GITHUB_TOKEN: ${{ secrets.EMAD_TOKEN }}
- name: Run EMAD Tests
run: emad testFROM python:3.9-slim
# Install EMAD
RUN curl -sSL https://raw.githubusercontent.com/huggingfacer04/EMAD/main/install.sh | bash
# Configure EMAD
ENV EMAD_GITHUB_TOKEN=${GITHUB_TOKEN}
ENV EMAD_REPO_NAME=${REPO_NAME}
# Start EMAD
CMD ["emad", "start"]- Documentation: https://github.com/huggingfacer04/EMAD/wiki
- Issues: https://github.com/huggingfacer04/EMAD/issues
- Discussions: https://github.com/huggingfacer04/EMAD/discussions
- Discord: EMAD Community Server
- Reddit: r/EMADDevelopment
- Stack Overflow: Tag questions with
emad-system
- Bug Reports: Use GitHub Issues with detailed reproduction steps
- Feature Requests: Use GitHub Discussions for new feature ideas
- Pull Requests: Follow the contribution guidelines in CONTRIBUTING.md
After successful installation, you should see:
- ✅
emad statusshows all systems operational - ✅ Background runner process active
- ✅ Failsafe systems enabled and monitoring
- ✅ GitHub connectivity verified
- ✅ Project files being monitored
- ✅ Automatic sync to GitHub repository
Welcome to the EMAD ecosystem! Your development workflow is now protected and automated. 🚀✨
For the complete EMAD documentation, visit: https://github.com/huggingfacer04/EMAD