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

gh-codespace-stop - Stop a running codespace

gh codespace stop [flags]

Name of the codespace
The login handle of the organization (admin-only)
Filter codespace selection by repository name (user/repo)
Filter codespace selection by repository owner (username or org)
The username to stop codespace for (used with --org)

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)

Jun 2025