Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Guide developers through setting up development environments with proper tools, dependencies, and configurations
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | 87% | 0% |
| case-07 | ✗→✓ | ▲ Improved | 161% | 0% |
| case-11 | ✗→✓ | ▲ Improved | 556% | 0% |
| case-05 | ✓→✓ | = Same ✓ | 195% | 0% |
| case-06 | ✓→✓ | = Same ✓ | 179% | 0% |
Help developers set up complete development environments from scratch. This skill provides step-by-step guidance for installing tools, configuring dependencies, setting up environment variables, and verifying the setup works correctly.
I'll help you determine what needs to be installed:
Before installing anything, I'll help you check what's already installed:
bash# Check versions of installed tools node --version python --version git --version docker --version
I'll give platform-specific installation commands:
Help set up:
Provide verification steps to ensure everything works:
markdown## Setting Up Node.js Development Environment ### Prerequisites - macOS, Linux, or Windows - Terminal/Command Prompt access - Internet connection ### Step 1: Install Node.js **macOS (using Homebrew):** \`\`\`bash # Install Homebrew if not installed tmpdir="$(mktemp -d)" trap 'rm -rf "$tmpdir"' EXIT curl -fsSLo "$tmpdir/homebrew-install.sh" https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh cat "$tmpdir/homebrew-install.sh" # review the full installer before executing /bin/bash "$tmpdir/homebrew-install.sh" # Install Node.js brew install node \`\`\` **Linux (Ubuntu/Debian):** \`\`\`bash # Update package list sudo apt update # Install Node.js and npm tmpdir="$(mktemp -d)" trap 'rm -rf "$tmpdir"' EXIT curl -fsSLo "$tmpdir/nodesource-setup.sh" https://deb.nodesource.com/setup_20.x cat "$tmpdir/nodesource-setup.sh" # review the full installer before sudo sudo -E bash "$tmpdir/nodesource-setup.sh" sudo apt install -y nodejs \`\`\` **Windows (using winget):** \`\`\`powershell # Install Node.js winget install OpenJS.NodeJS.LTS \`\`\` ### Step 2: Verify Installation \`\`\`bash node --version # Should show v20.x.x or higher npm --version # Should show 10.x.x or higher \`\`\` ### Step 3: Install Project Dependencies \`\`\`bash # Clone the repository git clone https://github.com/your-repo/project.git cd project # Install dependencies npm install \`\`\` ### Step 4: Set Up Environment Variables Create a \`.env\` file: \`\`\`bash # Copy example environment file cp .env.example .env # Edit with your values nano .env \`\`\` Example \`.env\` content: \`\`\` NODE_ENV=development PORT=3000 DATABASE_URL=postgresql://localhost:5432/mydb API_KEY=your-api-key-here \`\`\` ### Step 5: Run the Project \`\`\`bash # Start development server npm run dev # Should see: Server running on http://localhost:3000 \`\`\` ### Troubleshooting **Problem:** "node: command not found" **Solution:** Restart your terminal or run \`source ~/.bashrc\` (Linux) or \`source ~/.zshrc\` (macOS) **Problem:** "Permission denied" errors **Solution:** Don't use sudo with npm. Fix permissions: \`\`\`bash mkdir ~/.npm-global npm config set prefix '~/.npm-global' echo 'export PATH=~/.npm-global/bin:$PATH' >> ~/.bashrc source ~/.bashrc \`\`\`
markdown## Setting Up Python Development Environment ### Step 1: Install Python **macOS:** \`\`\`bash brew install python@3.11 \`\`\` **Linux:** \`\`\`bash sudo apt update sudo apt install python3.11 python3.11-venv python3-pip \`\`\` **Windows:** \`\`\`powershell choco install python --version=3.11 \`\`\` ### Step 2: Verify Installation \`\`\`bash python3 --version # Should show Python 3.11.x pip3 --version # Should show pip 23.x.x \`\`\` ### Step 3: Create Virtual Environment \`\`\`bash # Navigate to project directory cd my-project # Create virtual environment python3 -m venv venv # Activate virtual environment # macOS/Linux: source venv/bin/activate # Windows: venv\Scripts\activate \`\`\` ### Step 4: Install Dependencies \`\`\`bash # Install from requirements.txt pip install -r requirements.txt # Or install packages individually pip install flask sqlalchemy python-dotenv \`\`\` ### Step 5: Set Up Environment Variables Create \`.env\` file: \`\`\` FLASK_APP=app.py FLASK_ENV=development DATABASE_URL=sqlite:///app.db SECRET_KEY=your-secret-key-here \`\`\` ### Step 6: Run the Application \`\`\`bash # Run Flask app flask run # Should see: Running on http://127.0.0.1:5000 \`\`\`
markdown## Setting Up Docker Development Environment ### Step 1: Install Docker **macOS:** \`\`\`bash brew install --cask docker # Or download Docker Desktop from docker.com \`\`\` **Linux:** \`\`\`bash # Install Docker curl -fsSL https://get.docker.com -o get-docker.sh sudo sh get-docker.sh # Add user to docker group sudo usermod -aG docker $USER newgrp docker \`\`\` **Windows:** Download Docker Desktop from docker.com ### Step 2: Verify Installation \`\`\`bash docker --version # Should show Docker version 24.x.x docker-compose --version # Should show Docker Compose version 2.x.x \`\`\` ### Step 3: Create docker-compose.yml \`\`\`yaml version: '3.8' services: app: build: . ports: - "3000:3000" environment: - NODE_ENV=development - DATABASE_URL=postgresql://postgres:password@db:5432/mydb volumes: - .:/app - /app/node_modules depends_on: - db db: image: postgres:15 environment: - POSTGRES_USER=postgres - POSTGRES_PASSWORD=password - POSTGRES_DB=mydb ports: - "5432:5432" volumes: - postgres_data:/var/lib/postgresql/data volumes: postgres_data: \`\`\` ### Step 4: Start Services \`\`\`bash # Build and start containers docker-compose up -d # View logs docker-compose logs -f # Stop services docker-compose down \`\`\` ### Step 5: Verify Services \`\`\`bash # Check running containers docker ps # Test database connection docker-compose exec db psql -U postgres -d mydb \`\`\`
Symptoms: Installed tool but terminal doesn't recognize it Solution:
bash# Check PATH echo $PATH # Add to PATH (example) export PATH="/usr/local/bin:$PATH"
Symptoms: "EACCES" or "Permission denied" errors Solution:
bash# Fix npm permissions mkdir ~/.npm-global npm config set prefix '~/.npm-global' echo 'export PATH=~/.npm-global/bin:$PATH' >> ~/.bashrc
Symptoms: "Port 3000 is already in use" Solution:
bash# Find process on port 3000 lsof -i :3000 # Kill process kill -9 <PID> # Or use different port PORT=3001 npm start
Symptoms: "Connection refused" or "Authentication failed" Solution:
bash# Check if PostgreSQL is running sudo systemctl status postgresql # Test connection psql -h localhost -U postgres -d mydb
Create a setup.sh script to automate setup:
bash#!/bin/bash echo "🚀 Setting up development environment..." # Check prerequisites command -v node >/dev/null 2>&1 || { echo "❌ Node.js not installed"; exit 1; } command -v git >/dev/null 2>&1 || { echo "❌ Git not installed"; exit 1; } echo "✅ Prerequisites check passed" # Install dependencies echo "📦 Installing dependencies..." npm install # Copy environment file if [ ! -f .env ]; then echo "📝 Creating .env file..." cp .env.example .env echo "⚠️ Please edit .env with your configuration" fi # Run database migrations echo "🗄️ Running database migrations..." npm run migrate # Verify setup echo "🔍 Verifying setup..." npm run test:setup echo "✅ Setup complete! Run 'npm run dev' to start"
@brainstorming - Plan environment requirements before setup@systematic-debugging - Debug environment issues@doc-coauthoring - Create setup documentation@git-pushing - Set up Git configurationPro Tip: Create a setup.sh or setup.ps1 script to automate the entire setup process. Test it on a clean system to ensure it works!
Other measured skills in the registry, with their headline benchmark lift.