Skip to content
GitHub 代码空间

GitHub 代码空间

GitHub 代码空间 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.

Code from any device

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

Onboard at the speed of thought

No more building your dev environment while you onboard. 代码空间 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 代码空间 right from the pull request without waiting for your dev environment to load.

Everything you need to code

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

The image features a gradient background transitioning from green at the top to blue at the bottom. There are three black rectangular boxes with rounded corners, each containing a green checkmark icon on the left and white text. The first box reads "Isolated 环境," the second box reads "Access Control," and the third box reads "Cost Control." This image appears to be highlighting key features or benefits, possibly related to a software or service that emphasizes isolation, access management, and cost efficiency.

What used to be a 15-step process is just one step: open 代码空间 and you’re off and running.
Clint ChesterDeveloper Lead, Synergy

Start coding in seconds with 代码空间

Start coding in seconds with 代码空间

Get started for free

Frequently Asked Questions

How does 代码空间 work?

A codespace is a development environment that's hosted in the cloud. Customize your project for GitHub 代码空间 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 代码空间 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 代码空间?

There are a number of entry points to spin up a 代码空间 environment, including:

A template.

Your repository for new feature work

An open pull request to explore work-in-progress

A commit in the repository's history to investigate a bug at a specific point in time

Visual Studio Code

In beta, can you also use your JetBrains IDE or JupyterLab

Learn more about how to use 代码空间 in our documentation.

Is 代码空间 available for individual developers?

代码空间 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 代码空间 available for teams and companies?

代码空间 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 代码空间 for added security and permissioning control. Learn how to enable 代码空间 in an organization in our docs.

How much does 代码空间 cost?

代码空间 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 代码空间 pricing for organizations here.

Can I self-host 代码空间?

代码空间 cannot be self-hosted.

How do I access 代码空间 with LinkedIn Learning?

You can use 代码空间 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 代码空间, 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 代码空间 here.

How do I enable 代码空间 on GitHub?

代码空间 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 代码空间. 组织 will also need to pay for, enable, and manage their 代码空间 instances.

Is 代码空间 available for students?

代码空间 is available for free to students as part of the GitHub Student Developer Pack. Learn more about how to sign up and start using 代码空间 and other GitHub products with GitHub Education for students.

Is 代码空间 available for open source maintainers?

代码空间 provides both maintainers and contributors with generous free monthly usage.