GH-900 ยท Automation and AI-assisted development
github.dev versus Codespaces
The lightweight browser editor opened with the period key versus a full Codespace: capabilities, no terminal or runtime in github.dev, and when to use each.
Key points
- github.dev (VS Code for the Web): press . on a repository page or replace github.com with github.dev in the URL.
- Opens almost instantly, free.
- No compute: no terminal, build or run; only web-compatible extensions.
- Codespace: starts in a few minutes; dedicated VM with full terminal, running, debugging, most VS Code extensions.
- Quick edits: github.dev. Running code: codespace.
Source: https://docs.github.com/en/codespaces/the-githubdev-web-based-editor
Practice questions
Which key opens a repository in github.dev while you view it on GitHub?
- The period key (.)
- The slash key (/)
- The question mark key (?)
- The Escape key
Show answer
Answer: A. The period key (.)
Pressing the period key opens the repository or pull request in VS Code for the Web. Replacing github.com with github.dev in the URL does the same.
Which limitations apply to github.dev?
- You cannot build or run your code
- There is no integrated terminal
- Only web-compatible extensions can be installed
- It takes several minutes to provision a VM
- It works without signing in to GitHub
Show answer
Answer: A. You cannot build or run your code, B. There is no integrated terminal, C. Only web-compatible extensions can be installed
github.dev has no attached compute, no integrated terminal and only web-compatible extensions. It does not need a VM to start or lack sign-in.
True or false: github.dev gives you a terminal so you can run your tests.
Show answer
Answer: False
False. github.dev has no compute and no integrated terminal; to run tests you need a codespace or a local clone.
Practice 8 questions on this topic in Bitzu
Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.
