Copyright (c) 2026 MindMesh Academy. All rights reserved. This content is proprietary and may not be reproduced or distributed without permission.

5.5. github.dev vs. Codespaces

Both open in a browser and look similar at a glance — but one of them can actually run your code, and the exam wants you to know which.

💡 First Principle: github.dev is a lightweight, client-side code editor with no compute behind it — press . on any GitHub repository page and it opens instantly, letting you browse and edit files with a real editor's ergonomics. What it can't do is run code, open a terminal, or install dependencies, because there's no machine behind it — it's editing, not execution. Codespaces is the opposite trade-off: slower to start because it provisions a real cloud machine, but capable of running, testing, and debugging the project like a full local environment.

github.devCodespaces
Compute behind it?NoYes, a real cloud VM
Can run code?NoYes
Has a terminal?NoYes
Startup timeInstantSeconds to a couple minutes
Best forQuick edits, browsingActually running/testing a project

⚠️ Exam Trap: github.dev cannot execute code or open a terminal — it's an editor only. Any scenario that mentions running, testing, or debugging code in the browser is describing Codespaces, not github.dev.

Reflection Question: Someone wants to quickly fix a typo in a config file without leaving their browser or waiting for anything to provision. Which tool fits, and why is the other one unnecessary here?

See how it connects
Alvin Varughese
Written byAlvin Varughese
Founder18 professional certifications