A clean Codespaces path for the days when your laptop says no.
When your laptop won't let you install Node, npm, or Copilot CLI, this gets you the full experience in a browser tab. No IT involvement. No installer dialogues. Free on a personal GitHub account.
Codespaces is free on a personal GitHub account, 60 hours per month on the smallest machine. The full course uses well under 2 hours of compute. No credit card. No conversion trap.
Open github.com and sign in with a personal account, not your work account. Two reasons:
Click this button:
Open in a Codespace โGitHub shows a Create codespace page. You will see the repo name JW-Sthlm/ai-operator-intro, a green Create new codespace button, and a few defaults. Leave them as they are.
Click Create new codespace. About 90 seconds to boot. The devcontainer installs Node 20 and Copilot CLI for you while you wait.
When the Codespace finishes booting, you land in VS Code in the browser. Open the integrated terminal:
Ctrl+`The terminal welcome banner should say You are on a custom image defined in your devcontainer.json file. That confirms the devcontainer loaded.
npm install -g @github/copilot
Verify Copilot CLI is ready:
copilot --version
1.0.46 or newer. If you see an old version like 1.0.1x or 1.0.3, the devcontainer did not load. Rebuild the container and check again.VS Code in the browser opens with the Explorer, an editor, a Copilot Chat panel, and the terminal all visible. Useful later. Overwhelming now.
Three quick moves get you to the right layout.
Look at the top-right of the screen. You will see a panel labelled CHAT with Build with Agent or Describe what to build. Click the โ in that panel's top-right corner. Shortcut: Ctrl+Alt+B.
Why close it: Copilot Chat is a different product from Copilot CLI. Different runtime, different MCP config, different commands. Having both visible makes it unclear which one you are talking to. Today's workshop happens in the terminal. Chat can wait.
Codespaces auto-opens README.md in a preview tab. You can keep it or close it. Click the ร on the tab if you want a quieter screen.
Click the maximize icon in the terminal panel header, top-right of the panel. It looks like a square outline. Same effect via Ctrl+Shift+P, then Toggle Maximized Panel.
โโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ EXPLORER โ Editor area โ
โ โ (file previews appear here when โ
โ README.md โ you click a file in Explorer) โ
โ course/ โ โ
โ ... โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ โ TERMINAL โ
โ โ $ copilot --allow-all โ
โ โ > โ
โ โ โถ YOU WORK HERE โ โ
โโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
.md file later, click it in the Explorer to preview it. Markdown renders nicely in the editor area. Click back into the terminal to keep working.Run Copilot CLI:
copilot
Copilot shows a device code and asks you to visit github.com/login/device. Open the link, paste the code, and approve. Use the personal account from Step 1.
Come back to the Codespace terminal. When you see the > prompt, leave Copilot CLI for now:
/exit
In the Codespace terminal, run:
copilot --allow-all
--allow-all lets Copilot run shell commands, read and write files, and fetch URLs without asking each time. Safe here, because the Codespace is a sandbox.
At the > prompt, try this:
What is GitHub Copilot CLI good for?
Then try a real operator prompt:
Help me draft a one-paragraph intro email to a new Microsoft partner contact, casual tone.
Now jump to the course for the four short lessons. If you want to build something immediately, start with Exercise 1: Customer briefing.
The Codespace stops automatically after 30 minutes of inactivity. To clean up explicitly, visit github.com/codespaces, find your codespace, click ..., then Delete. That frees the storage quota too.
Check that you are signed in with a personal GitHub account. Work accounts often inherit org policies that block Codespaces.
Rebuild the container: Ctrl+Shift+P, then Codespaces: Rebuild Container.
Run the manual install command in the terminal:
npm install -g @github/copilot