Use this checklist when you join the GitHub Copilot Lab for IT & DevOps. It assumes no prior experience with GitHub, Visual Studio Code, or Copilot.
-
Install the latest Visual Studio Code from code.visualstudio.com.
-
Install Git:
- Windows: download from git-scm.com and accept default settings (ensure "Git from the command line" is enabled).
- macOS: install Xcode Command Line Tools (
xcode-select --install) or download from git-scm. - Linux: use your package manager (
sudo apt install git,sudo dnf install git, etc.).
-
Install PowerShell 7 if you will run PowerShell labs locally:
- Windows (recommended): open an elevated PowerShell window and run
winget install --id Microsoft.PowerShell --source winget. Restart your shell so the newpwshcommand is available. - Windows (download alternative): download the
.msiinstaller from https://github.com/PowerShell/PowerShell/releases/download/v7.5.4/PowerShell-7.5.4-win-x64.msi - macOS: install via Homebrew with
brew install --cask powershell, then start it withpwsh. - Linux: follow the distribution-specific instructions on the official installation guide (for example,
sudo apt-get install -y powershellon Ubuntu after adding the Microsoft repository).
- Windows (recommended): open an elevated PowerShell window and run
-
Install Python 3.10 or later from python.org and ensure
python/pipare on yourPATH.
Choose one of the following:
- Open the VS Code welcome screen.
- Select Clone Git Repository.
- Paste
https://github.com/Iditbnaya/GitHub-Copilot-Lab-IT-DevOps.gitand pick a local folder.
- Launch VS Code and choose File → Open Folder….
- Select the cloned
GitHub-Copilot-Lab-IT-DevOpsdirectory. - When prompted about making the folder trusted, select Yes, I trust the authors. or
Create a new folder on your computer, open the folder in Vscode - File-Open Folder, then open the terminal in VS Code (Ctrl+~) and run:
git clone https://github.com/Iditbnaya/GitHub-Copilot-Lab-IT-DevOps.git
cd GitHub-Copilot-Lab-IT-DevOps- In VS Code, open the Extensions view (
Ctrl+Shift+X). - Install GitHub Copilot and GitHub Copilot Chat.
- Sign into GitHub when prompted; approve any device-code or SSO requests.
- Use the Command Palette (
Ctrl+Shift+P) →GitHub Copilot: Toggle Copilotto verify the extension responds. - Open Copilot Chat (
Ctrl+I) and ask "What can you do?" to confirm chat access.
Open the VS Code terminal (`Ctrl+~) and verify the following:
$psversionTable.PSVersion
-
If PowerShell 7 is installed correctly, you should see output similar to:

-
If the Major version is 5, you are using Windows PowerShell, not PowerShell 7. If you have already installed PowerShell 7 but
pwshis not recognized, follow these steps:- Find where PowerShell 7 is installed (commonly
C:\Program Files\PowerShell\7). - Add that folder to your system
PATHenvironment variable:
- Open System Properties > Advanced > Environment Variables.
- Under System variables, select
Pathand click Edit. - Click New and add the path to your PowerShell 7 folder (e.g.,
C:\Program Files\PowerShell\7). - Click OK to save and close all dialogs.
- Restart your terminal or VS Code.
- Try running
$psversionTable.PSVersionagain.
- Find where PowerShell 7 is installed (commonly
-
For more help, see the official installation guide.
-
ansible-core: Automation framework for configuration management. Install via pip:
pip install ansible-core. See the official installation guide for more options. -
Docker Desktop: Containerization platform for running containers locally. Download from docker.com/products/docker-desktop and follow the setup wizard for Windows, macOS, or Linux.
- Read
ReadMe.mdin the repo root for the lab roadmap and environment notes. - Complete labs in order:
Lab1_GettingStarted– Copilot fundamentals.Lab1_PowerShell– PowerShell automation with Copilot.Lab2_Python– Python ingestion and enrichment.Lab2_YAML– YAML and config generation.Lab3_Ansible– Ansible playbook automation.Lab4_GitHub_Actions– CI/CD pipeline.Lab5_Agents– Copilot Agents governance.
- After each exercise, capture notes in the suggested
notes/files or your preferred location.
If you plan to share your work:
- Create a new branch:
git checkout -b <your-name>/lab-notes. - Stage changes:
git add .. - Commit:
git commit -m "Add lab1 notes". - Push:
git push -u origin <your-name>/lab-notes. - Open a pull request on GitHub for review or archival.
- GitHub Copilot not responding: Ensure you are signed in to GitHub and have an active Copilot subscription. Restart VS Code if necessary.
- PowerShell 7 not recognized: Verify installation and ensure the installation path is added to your system
PATH. - Python or Ansible not found: Confirm installations and that their executables are on your system
PATH.
Once the setup checklist is complete, you are ready to join the lab sessions. Keep this guide handy for future workshops or to help colleagues get started.