[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-09-01。"],[],[],null,["# Launch Cloud Shell\n\nA Cloud Shell session can be launched in different ways to best fit\nyour use case.\n\nLaunch from the Google Cloud console\n------------------------------------\n\nTo launch a Cloud Shell session from the Google Cloud console,\nclick\n**Activate Cloud Shell** in the\n[Google Cloud console](http://console.cloud.google.com). This launches a\nsession in the bottom pane of Google Cloud console.\n\nYou can also transfer this session to a full screen experience by clicking\n\n**Open in new window**.\n\nLaunch a standalone session\n---------------------------\n\nIf you'd prefer a standalone session, you can launch a\nCloud Shell session with\n[shell.cloud.google.com](https://shell.cloud.google.com). The\nCloud Shell terminal and Cloud Shell Editor are\nautomatically started for you.\n\nTo open just the Cloud Shell Editor, you can use\n[ide.cloud.google.com](https://ide.cloud.google.com). You can still access the\nCloud Shell terminal at any time using the Open\nterminal button\nin the\nCloud Shell menu bar.\n\nLaunch from documentation\n-------------------------\n\nAfter starting your [free trial](https://console.cloud.google.com/freetrial), you can find **Activate Cloud Shell** in the header of the documentation page you're on. \nIf you're signed into your Google account and reading Google Cloud documentation, you can find **Activate Cloud Shell** in the header of the documentation page you're on.\n\n\u003cbr /\u003e\n\nThis button launches the Cloud Shell as a panel at the\nbottom of your current page. You can then experiment with the product you're\nreading about while keeping the product's documentation in context.\n\nThe Cloud Shell terminal comes with the\ngcloud CLI, Docker, Terraform, and\n[other command-line utilities](/shell/docs/how-cloud-shell-works#tools)\npreinstalled and automatically authenticates you with your Google credentials,\nso you can use the terminal to run sample code in the documentation. This means\nthat you can enable and experiment with Cloud APIs, start long-running\noperations, and manage your Google Cloud resources from the\ncommand line without leaving documentation.\n\nLaunch with an Open in Cloud Shell link\n---------------------------------------\n\nIf you'd like your users to experiment with your project or code samples without\nhaving to download the gcloud CLI or installing dependencies, use\nthe [Open in Cloud Shell](/shell/docs/open-in-cloud-shell) (OiCS)\nfeature. This feature allows you to construct and publish a URL that\nautomatically performs certain actions upon Cloud Shell launch,\nsuch as cloning a Git repository or opening a tutorial. This option has the\nadded advantage of allowing you to customize the launched\nCloud Shell experience by supporting the inclusion of URL\nparameters when crafting an OiCS link.\n\nLaunch and connect locally to Cloud Shell with the gcloud CLI\n-------------------------------------------------------------\n\nIf you'd like to interact with and connect to your Cloud Shell\nenvironment using a local command-line, you'll need to\n[install the gcloud CLI](/sdk/install). Using the\ngcloud CLI, specifically the\n[`gcloud cloud-shell`](/sdk/gcloud/reference/cloud-shell) command group, you\ncan copy files between your local machine and Cloud Shell\nenvironment and establish an interactive SSH session with\nCloud Shell."]]