Skip to main content

Разработка в codespace

Вы можете работать в пространстве кода с помощью браузера, Visual Studio Codeили в командной оболочке.

About development with GitHub Codespaces

Note

GitHub Codespaces is not available on subdomains of GHE.com, such as octocorp.ghe.com.

You can develop code in a codespace using your choice of tool:

  • A command shell, via an SSH connection initiated using GitHub CLI
  • The Visual Studio Code desktop application
  • A browser-based version of Visual Studio Code

The tabs in this article allow you to switch between information for each of these ways of working. You're currently on the tab for GitHub CLI.

Working in a codespace in a command shell

Note

To learn more about GitHub CLI, see About GitHub CLI.

You can use GitHub CLI to create a new codespace, or start an existing codespace, and then SSH to it. Once connected, you can work on the command line using your preferred command-line tools.

After installing GitHub CLI and authenticating with your GitHub account you can use the command gh codespace [<SUBCOMMAND>...] --help to browse the help information. Alternatively, you can view the same reference information at https://cli.github.com/manual/gh_codespace.

For more information, see Using GitHub Codespaces with GitHub CLI.