Skip to main content
GitHub Docs
Version:
Free, Pro, & Team
Open Sidebar
Codespaces
/
Developing in a codespace
/
Default environment variables
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
Configure prebuilds
Allow external repo access
Manage prebuilds
Test dev container changes
Managing your codespaces
Codespaces secrets
Repository access
Security logs
GPG verification
Managing your organization
Enable or disable Codespaces
Billing and ownership
List organization codespaces
Manage Codespaces costs
Manage secrets
Audit logs
Restrict machine types
Restrict codespace creation
Restrict base image
Restrict port visibility