Skip to content

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.

Available in every repository
Getting started is just a click away
Dev environments that just work

The full power of your favorite editor

Use Visual Studio Code, Jupyter, or JetBrains with the editor, terminal, debugger, version control, settings sync, and all of your extensions. Work from any device in a browser, or hand off to your desktop. It’s that simple.

Visual Studio Code
Jet Brains
Jupiter
Screenshot of the Visual Studio Code editor
Screenshot of a terminal

Faster than your laptop

GitHub’s own 35GB dev image starts in seconds. And with low-latency connections across multiple regions, you won’t even remember it’s not your local machine.

CPUs up to

32 cores

Memory up to

64 GB

Spin up in

<10 sec

Dev environments on any machine

Stop wasting time fixing broken dev environments. Quickly manage and configure your Codespaces. Dev environments as code couldn’t be easier—or faster.

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 logo

IntelliCode

ES Lint logo

ES Lint

Prettier logo

Prettier

Live Server logo

Live Server

Live Share logo

Live Share

Docker logo

Docker

GitLens logo

GitLens

Debugger for Java logo

Debugger for Java

Browser preview and port forwarding

Preview your changes in the browser with instant reloads (websocket and HMR support) and share private and public ports with your teammates.

Review port forwarding docs

Secure by design

Every Codespaces environment is hardened by default and lives in its own ephemeral VM, in an isolated virtual network. Your code and private networks can only be accessed by authenticated users.

Isolated environments

Access Control

Cost control

What you can do with Codespaces

Learn how GitHub builds with Codespaces

Code 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

What used to be a 15-step process is just one step: open Codespaces and you’re off and running.
Clint Chester Developer Lead, Synergy
It’s so much easier for developers to use or even contribute to any repo when they can just spin up a Codespace and immediately start working with the code.
Katie Peters Staff Developer, TELUS
Before Codespaces, the onboarding process was tedious. Instead of taking two days, now it only takes a minute for a developer to access a pristine, steady-state environment, thanks to prebuilds.
Robbie Ostrow Software Engineering Manager, Vanta Security
Codespaces … lets developers skip the the tedious, error-prone stuff that normally stands between them and actually getting started on real work.
Keith Annette Cloud Capability Lead, KPMG, UK

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.

2 cores
60 hours free /month
$0.18 USD /additional hour
4 cores
30 hours free /month
$0.36 USD /additional hour
8 cores
15 hours free /month
$0.72 USD /additional hour
16+ cores
N/A

Storage

15 GB free /month
$0.07 USD /GB per month

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:

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?

Codespaces provides both maintainers and contributors with generous monthly free usage.