GitHub Codespaces (original) (raw)

GitHub Codespaces

Secure development made simple

GitHub Codespaces gets you up and coding faster with fully configured, secure cloud development environments native to GitHub.

The image shows a code editor with an HTML file on the left and a webpage preview on the right. The preview features "Mona Sans. A Variable Font" as the main heading, followed by a description: "Mona Sans is a strong and versatile typeface. Designed with Degasrim and inspired by industrial-era grotesques." Below this text, there is an illustration of a character resembling an octopus holding various tools. The image demonstrates real-time editing and previewing of web content, useful for developers working on web design or front-end development projects.

Secure by design

Created with security in mind, Codespaces provides a secure development environment through its built-in capabilities and native integration with GitHub.

Collaborate where you code

Codespaces provides a shared development environment and removes the need for complex, time consuming setups.

Your space, your way. Codespaces is a home away from home for your code that feels just like your usual machine.

Browser preview and port forwarding

Preview your changes and get feedback from teammates by sharing ports within the scope allowed by policy.

Onboard faster

Quickly spin up a codespace with only an IDE or browser and a GitHub account. With a few configuration files, you can give your developers an instant, fully configured, and secure development environment so they can start coding immediately.

What you can do with Codespaces

Code from any device. Want to code on an iPad? Go for it. Spin up Codespaces from any device with internet access. Don’t worry if your device is powerful enough—Codespaces lives in the cloud.

Onboard at the speed of thought. No more building your dev environment while you onboard. Codespaces launches instantly from any repository on GitHub with pre-configured, secure environments.

Fix bugs right from a pull request. Got a pull request detailing a bug or security issue? Open Codespaces right from the pull request without waiting for your dev environment to load.

Learn how GitHub’s Engineering Team builds with Codespaces

Read more

![The image shows the GitHub logo, which is a white silhouette of an octocat (a cat with octopus-like arms) inside a white circle. The background consists of abstract blue shapes and gradients, creating a dynamic and modern design. This image is relevant as it represents GitHub, a popular platform for version control and collaboration in software development.

](https://images.ctfassets.net/8aevphvgewt8/65cuXMkXYkmCbiEKP1MRbD/e4806d994e38d2a30f2551cbba14cbc0/Learn_how_GitHub_builds.webp)

What used to be a 15-step process is just one step: open Codespaces and you’re off and running.

Codespaces lets developers skip the tedious, error-prone stuff that normally stands between them and getting started on real work.

Frequently asked questions

How does Codespaces work?

A codespace is a development environment that's hosted in the cloud. Customize your project for GitHub Codespaces by configuring dev container files to your repository (often known as configuration-as-code), which creates a repeatable codespace configuration for all users of your project.

GitHub Codespaces run on a various VM-based compute options hosted by GitHub.com, which you can configure from 2 core machines up to 32 core machines. Connect to your codespaces from the browser or locally using an IDE like Visual Studio Code or IntelliJ.

How do I use Codespaces?

There are a number of entry points to spin up a Codespaces environment, including:

Learn more about how to use Codespaces in our documentation.

Is Codespaces available for individual developers?

Codespaces is available for developers in every organization, and under the control of the organization who pays for the user's codespace. All personal (individual) GitHub.com accounts include a quota of free usage each month, which organizations can enable (see the next question) for their private and internal repositories. GitHub will provide users in the free plan 120 core hours or 60 hours of run time on a 2 core codespace, plus 15 GB of storage each month. See how it's balanced on the billing page.

Is Codespaces available for teams and companies?

Codespaces is available for teams and companies, but needs to be enabled first in an organization’s settings. Teams and companies can select which repositories and users have access to Codespaces for added security and permissioning control. Learn how to enable Codespaces in an organization in our docs.

How much does Codespaces cost?

Codespaces is free for individual use up to 60 hours a month and comes with simple, pay-as-you-go pricing after that. It’s also available for organizations with pay-as-you-go pricing and has pricing controls so any company or team can determine how much they want to spend a month. Learn more about Codespaces pricing for organizations here.

Can I self-host Codespaces?

Codespaces cannot be self-hosted.

How do I access Codespaces with LinkedIn Learning?

You can use Codespaces directly through LinkedIn Learning. LinkedIn Learning offers 50+ courses across six of the most popular coding languages, as well as data science and machine learning. These courses are integrated with Codespaces, so you can get hands-on practice anytime, from any machine via LinkedIn. These courses will be unlocked on LinkedIn Learning for free through Feb. 2023. Learn more about LinkedIn Learning and GitHub Codespaces here.

How do I enable Codespaces on GitHub?

Codespaces is on by default for developers with a GitHub free account. If you belong to an organization, there may be a policy that prevents cloning—but if you can clone a repository, you will be able to start using Codespaces. Organizations will also need to pay for, enable, and manage their Codespaces instances.

Is Codespaces available for students?

Codespaces is available for free to students as part of the GitHub Student Developer Pack. Learn more about how to sign up and start using Codespaces and other GitHub products here.

Is Codespaces available for open source maintainers?