gh codespace create --repo owner/repo --branch main --machine standardLinux32gb
Create a codespace with a specific machine
Adds --machine standardLinux32gb to request a 32 GB RAM instance, matching the machine names shown by gh codespace list or the web UI. Bigger machines cost more, so pick by workload. The codespace is ready to connect via ssh, code, or the web.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.