OS Manuals

gh-codespace-code(1)

gh-codespace-code - Open a codespace in Visual Studio Code

GH-CODESPACE-CODE(1) GitHub CLI manual GH-CODESPACE-CODE(1)

gh-codespace-code - Open a codespace in Visual Studio Code

gh codespace code [flags]

Name of the codespace

Use the insiders version of Visual Studio Code

Filter codespace selection by repository name (user/repo)

Filter codespace selection by repository owner (username or org)

Use the web version of Visual Studio Code

0: Successful execution

1: Error

2: Command canceled

4: Authentication required

NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information.

gh-codespace(1)

Oct 2026

gh 2.102.1-r0 · os · ingested 2026-10-21