Start coding instantly
with Codespaces
Spin up fully configured dev environments in the cloud that start in seconds with up to 60 hours a month free.
Personalized just how you like it ✨
Tabs vs. spaces, Monokai, Solarized, light dark, Prettier, or Beautify? It’s up to you. Control every nerdy detail only you care about with your own dotfiles repository.
IntelliCode
ES Lint
Prettier
Live Server
Live Share
Docker
GitLens
Debugger for Java
What you can do with Codespaces
Learn how GitHub builds with CodespacesCode from any device
Want to code on an iPad? Go for it. You can spin up Codespaces from any device with internet access. And forget about worrying if your device is powerful enough. Codespaces lives in the cloud.
Onboard at the speed of light
No more building your dev environment while you onboard. Codespaces starts instantly from any repository on GitHub with pre-configured, secure environments. It’s as easy as clicking a button.
Model, train, and analyze data
Run Jupyter notebooks right from Codespaces. Now data scientists and developers can code, develop models, and collaborate in powerful compute environments that spin up in seconds.
Fix bugs right from a pull request
Got a pull request detailing a bug or security issue? Open Codespaces right from the pull request to get to work without waiting for your dev environment to load.
What developers are saying
Start free, pay as you go after
Use Codespaces for free each month to start with pay-as-you-go pricing after. Plus, you can set your maximum monthly cap for extra pricing control.
Get up to 60 hours free each month
Decide how many cores you need and go. Your free hours reset each month.
Storage
Frequently asked questions
How does Codespaces work?
A codespace is a development environment that's hosted in the cloud. You can 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 variety of VM-based compute options hosted by GitHub.com, which you can configure from 2 core machines up to 32 core machines. You can 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. These include:
- From a template.
- From your repository for new feature work
- From an open pull request to explore work-in-progress
- From a commit in the repository's history to investigate a bug at a specific point in time
- From Visual Studio Code
- From JetBrains IntelliJ
Learn more about how to use Codespaces in our documentation.
Is Codespaces available for individual developers?
GitHub Codespaces is available for developers in every organization. All personal GitHub.com accounts include a monthly quota of free usage each month. 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. You can see how the remaining balance 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 are able to select which repositories and users have access to Codespaces for added security and permissioning control. You can find information on how to enable Codespaces in an organization in our docs.
What does Codespaces cost?
Codespaces is available for free for individual use for up to 60 hours a month and comes with simple, pay-as-you-go pricing afterwards. For organizations, Codespaces is available 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. You can 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 at any time, from any machine via LinkedIn. These courses will be unlocked on LinkedIn Learning for free through Feb. 2023. You can learn more about LinkedIn Learning and GitHub Codespaces here.
How do I enable Codespaces on GitHub?
Codespaces is on by default for 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. You can learn more about how to sign up and start using Codespaces and other GitHub products here.
Is Codespaces available for open source maintainers?
Yes, we want open source maintainers and contributors to have a great experience with Codespaces. So, in addition to the free usage, we’re previewing free Prebuild Storage for open source organizations. Click here to apply.