-
-
Notifications
You must be signed in to change notification settings - Fork 6
Installation_Guide
This comprehensive guide covers all installation methods and configuration options for ClaudeAutoPM.
- System Requirements
- Global Installation (Recommended)
- Alternative Installation Methods
- Configuration Options
- Post-Installation Setup
- Verification
- Troubleshooting
- Updates and Maintenance
- Node.js >= 16.0.0
- npm >= 8.0.0
- Git (system installation)
- Claude Code or compatible AI coding assistant
- ✅ macOS (Intel & Apple Silicon)
- ✅ Linux (Ubuntu, Debian, CentOS, RHEL, etc.)
- ✅ Windows (Git Bash, WSL, PowerShell)
- Docker (for Docker-first development)
- Kubernetes CLI (kubectl) (for K8s testing)
- GitHub CLI (gh) (automatically installed during setup)
The npm-based installation is the fastest, safest, and most reliable method:
# Install ClaudeAutoPM globally
npm install -g claude-autopm
# Verify installation
autopm --version
# Navigate to your project
cd path/to/your/project
# Install ClaudeAutoPM framework
autopm install- Automatic updates via npm
- Cross-platform compatibility
- Integrated MCP management
- Better error handling
- Comprehensive logging
# Direct usage without installation
npx autopminstall
npx autopmmerge
npx autopmsetup-envUnix/Linux/macOS:
curl -sSL https://raw.githubusercontent.com/rafeekpro/ClaudeAutoPM/main/install/install.sh | bashWindows PowerShell:
iwr -useb https://raw.githubusercontent.com/rafeekpro/ClaudeAutoPM/main/install/install.sh | iexNote: Legacy methods are provided for compatibility but npm installation is recommended for better reliability and features.
ClaudeAutoPM supports multiple installation configurations to match your development workflow:
Best for: Simple projects, rapid prototyping, learning
autopm install --yes --config minimalFeatures:
- Native tooling (npm, pip, local execution)
- Standard test runners and frameworks
- No Docker/Kubernetes requirements
- Sequential execution strategy
Configuration:
docker_first_development: false
kubernetes_devops_testing: false
github_actions_k8s: false
execution_strategy: sequentialBest for: Team consistency, environment parity
autopm install --yes --config dockerFeatures:
- All code runs in Docker containers
- Docker Compose orchestration
- Hot reload with volume mounts
- No local execution allowed
Configuration:
docker_first_development: true
enforce_docker_tests: true
kubernetes_devops_testing: false
execution_strategy: adaptiveBest for: Production deployments, enterprise teams
autopm install --yes --config devopsFeatures:
- Local development in Docker containers
- CI/CD testing in Kubernetes (KIND)
- Helm charts and security scanning
- GitHub Actions K8s integration
Configuration:
docker_first_development: true
kubernetes_devops_testing: true
github_actions_k8s: true
integration_tests: true
execution_strategy: adaptiveBest for: Power users, complex projects
autopm install --yes --config performanceFeatures:
- Hybrid parallel execution
- Maximum agent utilization
- Advanced optimization strategies
- Performance monitoring
Configuration:
execution_strategy: hybrid-parallel
max_parallel_agents: 8
context_optimization: true
performance_monitoring: trueFor CI/CD pipelines and automated setups:
# Minimal setup with all options
autopm install --yes --config minimal --no-env --no-hooks
# DevOps setup with GitHub Actions
autopm install -y -c devops --cicd github-actions
# Docker-only without environment setup
autopm install -y -c docker --no-env
# Custom configuration
autopm install -y -c performance --cicd azure-devops --no-hooks| Option | Short | Description |
|---|---|---|
--yes |
-y |
Auto-accept all prompts (non-interactive mode) |
--config |
-c |
Preset configuration: minimal, docker, devops, performance
|
--cicd |
CI/CD system: github-actions, azure-devops, gitlab-ci, jenkins, none
|
|
--no-env |
Skip .env setup | |
--no-hooks |
Skip git hooks installation | |
--no-backup |
Skip creating backups (not recommended) | |
--verbose |
Verbose output for debugging |
# Initialize ClaudeAutoPM (run this first)
/pm:initThis command will:
- Install GitHub CLI (if needed)
- Authenticate with GitHub
- Install required extensions
- Create necessary directories
- Update .gitignore
# Initialize project with ClaudeAutoPM rules
/init include rules from .claude/CLAUDE.mdOr if you already have a CLAUDE.md file:
# Update existing CLAUDE.md with framework rules
/re-init# Create project context
/context:create# Interactive .env setup
autopm setup-env
# Or configure specific directory
autopm setup-env ~/my-project# List available MCP servers
autopm mcp list
# Enable recommended servers
autopm mcp enable context7-docs
autopm mcp enable github-mcp
autopm mcp enable playwright-mcp
# Sync configuration
autopm mcp sync# Verify ClaudeAutoPM CLI
autopm --version
# Check installed files
ls -la .claude/Expected directory structure:
.claude/
├── agents/ # AI agent definitions
├── commands/ # Command definitions
├── rules/ # Development rules
├── scripts/ # Utility scripts
├── checklists/ # Quality checklists
├── base.md # Base configuration
└── context/ # Project context
# Test project management commands
/pm:help
# Test agent invocation
@code-analyzer help
# Test MCP integration (if enabled)
autopm mcp validate# Run all tests
npm run test:all
# Test installation specifically
npm run test:install:validate
# Check security
npm run test:securityLinux/macOS:
# Fix npm permissions
sudo chown -R $(whoami) ~/.npm
# Or use nvm for Node.js management
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
nvm install nodeWindows:
# Run PowerShell as Administrator, then:
npm install -g claude-autopmLinux (Ubuntu/Debian):
sudo apt update && sudo apt install gitmacOS:
xcode-select --installWindows:
- Download Git from https://git-scm.com/download/win
- Ensure Git is in your PATH
# Check current version
node --version
# Upgrade Node.js
npm install -g n
n latest
# Or use nvm
nvm install node
nvm use node# Clear npm cache
npm cache clean --force
# Use verbose mode
autopm install --verbose
# Skip problematic steps
autopm install --no-env --no-hooksIf you see warnings like "Cannot create template for: FILENAME":
-
Check source files:
ls -la node_modules/claude-autopm/autopm/.claude/
-
Verify npm package integrity:
npm list claude-autopm npm cache verify
-
Reinstall if needed:
npm uninstall -g claude-autopm npm install -g claude-autopm
Git Bash Required:
# Ensure Git Bash is available
which bash
# If missing, install Git for Windows
# Download from: https://git-scm.com/download/winWSL Compatibility:
# In WSL, ensure npm is properly configured
npm config get prefix
npm config set prefix ~/.npm-global
export PATH=~/.npm-global/bin:$PATHUbuntu/Debian:
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
sudo usermod -aG docker $USERmacOS:
- Install Docker Desktop from https://docker.com/products/docker-desktop
Windows:
- Install Docker Desktop or use WSL2 with Docker
# Linux: Add user to docker group
sudo usermod -aG docker $USER
newgrp docker
# Test Docker access
docker run hello-worldUsing Package Managers:
# macOS
brew install kubectl
# Ubuntu/Debian
sudo apt-get update && sudo apt-get install -y kubectl
# Windows (Chocolatey)
choco install kubernetes-cli# Install KIND for local K8s testing
curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.14.0/kind-linux-amd64
chmod +x ./kind
sudo mv ./kind /usr/local/bin/kind# Update global package
npm update -g claude-autopm
# Update existing project installation
autopm update
# Force update with latest templates
autopm install --no-backup# Reconfigure features
autopm config
# Update environment variables
autopm setup-env
# Manage MCP servers
autopm mcp list
autopm mcp syncClaudeAutoPM automatically creates backups during updates:
# Backups are stored in:
.claude/.backups/
# Manual backup
cp -r .claude .claude.backup.$(date +%Y%m%d)
# Restore from backup
cp -r .claude.backup.20240314 .claude# Check system health
npm run pm:health
# Validate configuration
npm run pm:validate
# System metrics
npm run pm:metricsAfter successful installation:
- Read the Quick Start Guide for your first project
- Explore Configuration Options for customization
- Check Agent Registry for available AI agents
- Review CLI Reference for all commands
- Documentation: ClaudeAutoPM Wiki
- Issues: GitHub Issues
- Discussions: GitHub Discussions
For more detailed configuration options, see Configuration Options