Version: 1.0.0 Estimated Time: 10-15 minutes
This guide walks you through installing and configuring the AD-SDLC system.
Before installing AD-SDLC, ensure you have:
| Software | Minimum Version | Check Command |
|---|---|---|
| Node.js | 18+ | node --version |
| npm | 9+ | npm --version |
| Git | 2.30+ | git --version |
| Software | Purpose | Check Command |
|---|---|---|
GitHub CLI (gh) |
Issue/PR management | gh --version |
| Python | SDK development | python3 --version |
You need one of the following:
- Anthropic API Key - Get one from console.anthropic.com
- Claude Subscription (Max/Pro) - Use
claude login - Cloud Provider - AWS Bedrock, Google Vertex AI, or Azure Foundry
| Component | Minimum | Recommended |
|---|---|---|
| CPU | 2 cores | 4+ cores |
| RAM | 4GB | 8GB+ |
| Disk | 1GB | 5GB+ |
| Network | Broadband | Stable connection |
- macOS: 12 (Monterey) or later
- Linux: Ubuntu 20.04+, Debian 11+, CentOS 8+, Fedora 36+
- Windows: Windows 10 (with WSL2) or Windows 11
# Using Homebrew (recommended)
brew install node
# Or download from nodejs.org
# https://nodejs.org/en/download/# Using NodeSource repository
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
sudo apt-get install -y nodejsDownload and run the installer from nodejs.org.
# Global installation (recommended)
npm install -g ad-sdlc
# Verify installation
ad-sdlc --versionAlternatively, use npx without global installation:
npx ad-sdlc initThe GitHub CLI enables automatic issue creation and PR management.
brew install gh# Ubuntu/Debian
curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null
sudo apt update
sudo apt install ghwinget install --id GitHub.cliChoose one of the following methods:
# Add to your shell profile (~/.bashrc, ~/.zshrc, etc.)
export ANTHROPIC_API_KEY="sk-ant-api03-..."
# Reload your shell
source ~/.bashrc # or source ~/.zshrc# Login with your Claude Max/Pro subscription
claude login
# Follow the prompts to authenticate# AWS Bedrock
export CLAUDE_CODE_USE_BEDROCK=1
export AWS_ACCESS_KEY_ID="your-access-key"
export AWS_SECRET_ACCESS_KEY="your-secret-key"
export AWS_REGION="us-east-1"
# Google Vertex AI
export CLAUDE_CODE_USE_VERTEX=1
export GOOGLE_APPLICATION_CREDENTIALS="/path/to/credentials.json"
export ANTHROPIC_VERTEX_PROJECT_ID="your-project-id"# Authenticate with GitHub
gh auth login
# Select:
# - GitHub.com
# - HTTPS
# - Login with a web browser (or paste token)
# Verify authentication
gh auth status# Create a new project
mkdir my-project
cd my-project
# Initialize AD-SDLC with interactive wizard
ad-sdlc init
# Or use quick setup
ad-sdlc init --quickRun these commands to verify your installation:
# Check AD-SDLC CLI
ad-sdlc --version
# Expected: ad-sdlc version X.X.X
# Check Node.js
node --version
# Expected: v18.x.x or higher
# Check API key (should not show full key)
echo $ANTHROPIC_API_KEY | head -c 10
# Expected: sk-ant-api (first 10 characters)
# Check GitHub CLI (optional)
gh auth status
# Expected: Logged in to github.com as <username>
# Validate project configuration
ad-sdlc validate
# Expected: Configuration is validRun a simple test to verify the system works:
# Initialize a test project
ad-sdlc init test-project --quick
cd test-project
# Run a simple collection
claude "Collect requirements for a simple hello world application"Cause: npm global bin directory is not in PATH.
Solution:
# Find npm global directory
npm config get prefix
# Add to PATH (add to ~/.bashrc or ~/.zshrc)
export PATH="$PATH:$(npm config get prefix)/bin"
# Reload shell
source ~/.bashrcCause: API key is not configured.
Solution:
# Set the API key
export ANTHROPIC_API_KEY="sk-ant-api03-..."
# Or use Claude login
claude loginCause: GitHub CLI is not logged in.
Solution:
# Login to GitHub
gh auth login
# Follow the promptsCause: npm requires elevated permissions for global install.
Solution:
# Option 1: Use npx instead
npx ad-sdlc init
# Option 2: Configure npm to use a different directory
mkdir ~/.npm-global
npm config set prefix '~/.npm-global'
export PATH=~/.npm-global/bin:$PATH
# Add to ~/.bashrc or ~/.zshrc
echo 'export PATH=~/.npm-global/bin:$PATH' >> ~/.bashrcCause: Corporate proxy or firewall.
Solution:
# Set proxy for npm
npm config set proxy http://proxy.company.com:8080
npm config set https-proxy http://proxy.company.com:8080
# Set proxy for curl
export http_proxy=http://proxy.company.com:8080
export https_proxy=http://proxy.company.com:8080If you encounter issues not covered here:
- Check the FAQ
- Search existing issues
- Open a new issue
After successful installation:
- Quickstart Guide - 5-minute tutorial
- Use Cases - Common scenarios
- Configuration - Advanced configuration
Part of AD-SDLC Documentation