- NAME
-
- gcloud alpha cloud-shell - manage Google Cloud Shell
- SYNOPSIS
-
-
gcloud alpha cloud-shellCOMMAND[GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
-
(ALPHA)Interact with and connect to your Cloud Shell environment.More information on Cloud Shell can be found at https://cloud.google.com/shell/docs/.
- GCLOUD WIDE FLAGS
-
These flags are available to all commands:
--help.Run
$ gcloud helpfor details. - COMMANDS
-
is one of the following:COMMANDget-mount-command-
(ALPHA)Prints a command to mount the Cloud Shell home directory via sshfs. scp-
(ALPHA)Copies files between Cloud Shell and the local machine. ssh-
(ALPHA)Allows you to establish an interactive SSH session with Cloud Shell.
- NOTES
-
The previous
gcloud alpha shellcommand to launch an interactive shell was renamed togcloud alpha interactive.This command is currently in alpha and might change without notice. If this command fails with API permission errors despite specifying the correct project, you might be trying to access an API with an invitation-only early access allowlist. These variants are also available:
gcloud cloud-shellgcloud beta cloud-shell
gcloud alpha cloud-shell
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-07 UTC.