About renaming a codespace
When you create a codespace it's assigned an auto-generated display name. If you have multiple codespaces, the display name helps you to differentiate between codespaces. For example: literate space parakeet. You can change the display name for your codespace.
To find the display name of a codespace:
-
On GitHub, view your list of codespaces at https://github.com/codespaces.

-
In the Visual Studio Code desktop application, or the VS Code web client, click the Remote Explorer. The display name is the second item in the list. For example:
psychic chainsawin the screenshot below.
Note
If the Remote Explorer is not displayed in the Activity Bar:
- Access the Command Palette. For example, by pressing Shift+Command+P (Mac) / Ctrl+Shift+P (Windows/Linux).
- Type:
details. - Click Codespaces: Details.
-
In a terminal window on your local machine, use this GitHub CLI command:
gh codespace list.