{"meta":{"title":"Developing in a codespace","intro":"Create a codespace to get started with developing your project inside a dedicated cloud environment. You can use your codespace in the browser or in a choice of code editors.","product":"Codespaces","breadcrumbs":[{"href":"/en/codespaces","title":"Codespaces"},{"href":"/en/codespaces/developing-in-a-codespace","title":"Developing in a codespace"}],"documentType":"category"},"body":"# Developing in a codespace\n\nCreate a codespace to get started with developing your project inside a dedicated cloud environment. You can use your codespace in the browser or in a choice of code editors.\n\n## Links\n\n* [Developing in a codespace](/en/codespaces/developing-in-a-codespace/developing-in-a-codespace)\n\n  You can work in a codespace using your browser, Visual Studio Code, or in a command shell.\n\n* [Creating a codespace for a repository](/en/codespaces/developing-in-a-codespace/creating-a-codespace-for-a-repository)\n\n  You can create a codespace for a branch in a repository to develop online.\n\n* [Creating a codespace from a template](/en/codespaces/developing-in-a-codespace/creating-a-codespace-from-a-template)\n\n  If you're starting a new project, you can create a codespace from a blank template or choose a template specially designed for the type of work you want to do.\n\n* [Deleting a codespace](/en/codespaces/developing-in-a-codespace/deleting-a-codespace)\n\n  You can delete a codespace you no longer need.\n\n* [Opening an existing codespace](/en/codespaces/developing-in-a-codespace/opening-an-existing-codespace)\n\n  You can reopen a codespace that you have closed or stopped and return to your work.\n\n* [Working collaboratively in a codespace](/en/codespaces/developing-in-a-codespace/working-collaboratively-in-a-codespace)\n\n  You can work collaboratively with other people in a codespace by using Visual Studio Live Share.\n\n* [Using source control in your codespace](/en/codespaces/developing-in-a-codespace/using-source-control-in-your-codespace)\n\n  After making changes to a file in your codespace you can quickly commit the changes and push your update to the remote repository.\n\n* [Using GitHub Codespaces for pull requests](/en/codespaces/developing-in-a-codespace/using-github-codespaces-for-pull-requests)\n\n  You can use GitHub Codespaces in your web browser, or in Visual Studio Code to create pull requests, review pull requests, and address review comments.\n\n* [Stopping and starting a codespace](/en/codespaces/developing-in-a-codespace/stopping-and-starting-a-codespace)\n\n  You can stop and start your codespace to save resources and to pause work.\n\n* [Forwarding ports in your codespace](/en/codespaces/developing-in-a-codespace/forwarding-ports-in-your-codespace)\n\n  You can forward ports in your codespace to test and debug your application. You can also manage the port protocol and share the port within your organization or publicly.\n\n* [Rebuilding the container in a codespace](/en/codespaces/developing-in-a-codespace/rebuilding-the-container-in-a-codespace)\n\n  You can rebuild the dev container of a codespace you are working in to apply configuration changes. From time to time, you may want to perform a full rebuild.\n\n* [Default environment variables for your codespace](/en/codespaces/developing-in-a-codespace/default-environment-variables-for-your-codespace)\n\n  GitHub sets default environment variables for each codespace.\n\n* [Persisting environment variables and temporary files](/en/codespaces/developing-in-a-codespace/persisting-environment-variables-and-temporary-files)\n\n  You can configure custom environment variables so that they are set to the same value every time you open a codespace. You can also ensure that temporary files are not deleted when a codespace stops.\n\n* [Connecting to a private network](/en/codespaces/developing-in-a-codespace/connecting-to-a-private-network)\n\n  You can connect GitHub Codespaces to resources on a private network, including package registries, license servers, and on-premises databases.\n\n* [Getting started with GitHub Codespaces for machine learning](/en/codespaces/developing-in-a-codespace/getting-started-with-github-codespaces-for-machine-learning)\n\n  Learn about working on machine learning projects with GitHub Codespaces and its out-of-the-box tools.\n\n* [Using GitHub Codespaces in Visual Studio Code](/en/codespaces/developing-in-a-codespace/using-github-codespaces-in-visual-studio-code)\n\n  You can develop in your codespace directly in Visual Studio Code by connecting the GitHub Codespaces extension with your GitHub account.\n\n* [Using GitHub Codespaces with GitHub CLI](/en/codespaces/developing-in-a-codespace/using-github-codespaces-with-github-cli)\n\n  You can work with GitHub Codespaces directly from your command line by using gh, the GitHub command line interface."}