Developing in a codespace

You can open a codespace on GitHub, then develop using Visual Studio Code's features.

Anyone can develop in a codespace owned by their user account.

Codespaces is available for user accounts using GitHub Free or GitHub Pro. For more information, see "GitHub's products."

In this article

About development with Codespaces

Note: Codespaces is currently in limited public beta and subject to change. During the beta period, GitHub does not make any guarantees about the availability of Codespaces. For more information about joining the beta, see "About Codespaces."

You can edit code, debug, and use Git commands while developing in a codespace with Visual Studio Code. For more information, see the Visual Studio Code documentation.

You can forward ports in your codespace to test and debug your application. For more information, see "Forwarding ports in your codespace."

After the Codespaces configuration for a repository changes, you can apply the changes to an existing codespace by rebuilding the container for the codespace. For more information, see "Configuring Codespaces for your project."

For the best experience with Codespaces, we recommend using a Chromium-based browser, like Google Chrome or Microsoft Edge. For more information, see "Troubleshooting your codespace."

You can connect to your codespace directly from Visual Studio Code. For more information, see "Using Codespaces in Visual Studio Code."

  1. At the top of any page, click Codespaces.
    Codespaces link in header
  2. Click the name of the codespace you want to develop in.
    Name of codespace

Did this doc help you?

Privacy policy

Help us make these docs great!

All GitHub docs are open source. See something that's wrong or unclear? Submit a pull request.

Make a contribution

Or, learn how to contribute.