Under the repository name, use the Code drop-down menu, and in the Codespaces tab, click Create codespace on BRANCH.
If you don’t see this option, GitHub Codespaces isn't available for your project. See Access to GitHub Codespaces for more information.
When you create a codespace, your project is created on a remote VM that is dedicated to you. By default, the container for your codespace has many languages and runtimes including Java, nvm, npm, and yarn. It also includes a common set of tools like git, wget, rsync, openssh, and nano.
GitHub Codespaces uses a file called
devcontainer.json to configure the development container that you use when you work in a codespace. Each repository can contain one or more
devcontainer.json files, to give you exactly the development environment you need to work on your code in a codespace.
On launch, GitHub Codespaces uses a
devcontainer.json file, and any dependent files that make up the dev container configuration, to install tools and runtimes, and perform other setup tasks that the project requires. For more information, see "Introduction to dev containers."