Skip to main content
GitHub Docs
Version:
Free, Pro, & Team
Open Sidebar
Codespaces
/
Getting started
/
The codespace lifecycle
Home
Codespaces
Quickstart
Getting started
What are Codespaces?
Codespaces features
The codespace lifecycle
Deep dive into Codespaces
Developing in a codespace
Develop in a codespace
Create a codespace for a repo
Create a codespace from a template
Delete a codespace
Open an existing codespace
Work collaboratively
Source control
Pull requests
Stop a codespace
Forward ports
Rebuilding a container
Default environment variables
Persist variables and files
Connecting to a private network
Machine learning
Visual Studio Code
GitHub CLI
Customizing your codespace
Rename a codespace
Change your shell
Change the machine type
Setting your user preferences
Personalize your codespaces
Set the default editor
Set the default region
Set the timeout
Configure automatic deletion
Choose the host image
Setting up your project
Adding a dev container configuration
Introduction to dev containers
Setting up a Node.js project
Setting up a C# (.NET) project
Setting up a Java project
Setting up a PHP project
Setting up a Python project
Configuring dev containers
Set a minimum machine spec
Adding features
Automatically opening files
Specifying recommended secrets
Setting up your repository
Facilitating codespace creation
Set up a template repo
Prebuilding your codespaces
About prebuilds