⚙️ Automation 📖 Official

Development Environment Setup

Generate scripts to automate development environment configuration for new team members

★★☆ Intermediate 20 min January 13, 2025
📋

Scenario

Onboarding new developers requires setting up consistent development environments. Cowork can create comprehensive setup scripts that automate the entire process.

💬

Prompt

I need to create a development environment setup script for our team. The project requires:

- Node.js 20.x (via nvm)
- Python 3.11 (via pyenv)
- Docker Desktop
- PostgreSQL 15
- Redis
- VS Code with specific extensions
- Git configuration

Please create:
1. A setup.sh script for macOS
2. A setup.ps1 for Windows
3. A verification script to check everything is installed
4. A README with manual steps if needed

Save to ~/Projects/team-setup/

Expected Result

Claude will generate complete setup scripts including: - Installation scripts for macOS and Windows - Verification script to confirm all components installed correctly - Dependencies installed in correct order - Error handling and status indicators

💡

Tips

  • Keep scripts idempotent (safe to run multiple times)
  • Test on fresh systems before sharing
  • Generate separate scripts for each operating system