Automated scripts to help you set up and validate your Copilot SDK development environment.
Automated environment setup for Linux and macOS systems.
What it does:
- Checks for GitHub CLI and installs if needed
- Installs Copilot CLI extension
- Verifies authentication
- Checks for language runtimes (Node.js, Python, Go, .NET)
- Provides setup guidance for chosen SDKs
Usage:
bash scripts/setup-dev-env.shFeatures:
- ✅ Interactive - Choose which SDKs to set up
- ✅ Non-destructive - Won't overwrite existing installations
- ✅ Helpful output - Clear success/error messages
- ✅ Cross-platform - Works on macOS and Linux
Automated environment setup for Windows systems using PowerShell.
What it does:
- Checks for winget package manager
- Installs GitHub CLI if needed
- Installs Copilot CLI extension
- Verifies authentication
- Checks for language runtimes (Node.js, Python, Go, .NET)
- Installs missing tools via winget
Usage:
.\scripts\setup-dev-env.ps1Requirements:
- Windows 10 1809+ or Windows 11
- PowerShell 5.1+
- winget (Windows Package Manager)
Note: Run PowerShell as Administrator if installing system-wide packages.
Validates your development environment setup.
What it checks:
- GitHub CLI installation and authentication
- Copilot CLI installation
- Language runtime installations (Node.js, Python, Go, .NET)
- Tool versions and compatibility
- Additional development tools (Git, VS Code, just)
Usage:
bash scripts/validate-env.shExit codes:
0- All required checks passed1- Some checks failed
Example output:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔍 Validating Copilot SDK Development Environment
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
GitHub CLI
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✓ GitHub CLI installed: gh version 2.85.0
✓ GitHub CLI is authenticated
...
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Summary
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✓ All required checks passed!
-
Run setup script:
# Linux/macOS bash scripts/setup-dev-env.sh # Windows .\scripts\setup-dev-env.ps1
-
Validate installation:
bash scripts/validate-env.sh
-
Start building:
cd templates/typescript-quickstart # or python-quickstart # Follow template README
If you already have tools installed, just validate:
bash scripts/validate-env.shThe setup scripts are interactive and will ask which SDKs you want to set up:
Which SDKs would you like to set up? (You can select multiple)
Set up Node.js/TypeScript SDK? (y/n): y
Set up Python SDK? (y/n): y
Set up Go SDK? (y/n): n
Set up .NET SDK? (y/n): n
Required:
- ✅ GitHub CLI (gh)
- ✅ Copilot CLI extension
- ✅ GitHub authentication
- ✅ Git
Optional (at least one SDK):
- ⚪ Node.js 18+ (for TypeScript SDK)
- ⚪ Python 3.8+ (for Python SDK)
- ⚪ Go 1.21+ (for Go SDK)
- ⚪ .NET 8.0+ (for .NET SDK)
Recommended:
- ⚪ VS Code
- ⚪ uv (Python package manager)
- ⚪ just (command runner)
Linux/macOS:
# Make executable
chmod +x scripts/setup-dev-env.sh
chmod +x scripts/validate-env.sh
# Then run
bash scripts/setup-dev-env.shWindows:
# Enable script execution
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
# Then run
.\scripts\setup-dev-env.ps1Linux:
- Script will use
sudofor system installations - You'll be prompted for your password
macOS:
- Ensure Homebrew is installed
- Run with appropriate permissions
Windows:
- Run PowerShell as Administrator for system-wide installs
- Or install tools for current user only
- Check your internet connection
- Try running individual commands manually
- Check for antivirus interference
If scripts don't work for your system, see:
Found a bug or want to improve these scripts?
- Test your changes on multiple platforms
- Maintain backward compatibility
- Keep output clear and helpful
- Update this README
| Platform | Setup Script | Validation Script | Status |
|---|---|---|---|
| macOS (Intel) | ✅ | ✅ | Tested |
| macOS (Apple Silicon) | ✅ | ✅ | Tested |
| Ubuntu/Debian | ✅ | ✅ | Tested |
| Other Linux | ✅ | ✅ | Should work |
| Windows 10/11 | ✅ | ❌ | PowerShell only |
- Environment Setup Guide - Detailed setup instructions
- Quick Reference - Command cheatsheet
- Troubleshooting Guide - Common issues and solutions
- Project Templates - Ready-to-use starter templates
MIT - Same as the Copilot SDK