Stay organized with collections Save and categorize content based on your preferences.
This page describes how to use the Cloud Shell Terminal. The Gemini CLI is available in Cloud Shell without additional setup.
Use the terminalCloud Shell provides command-line access to the virtual machine instance in a terminal window that opens in the Google Cloud console. You can open multiple shell connections to the same instance.
To view the gcloud CLI available commands, run gcloud --help
.
In addition to accessing the Google Cloud CLI and other utilities from the command line, you can use the cloudshell
command to launch tutorials, open the Cloud Shell Editor, and download files.
For more information, run cloudshell help
.
In addition to using your mouse while browser focus is on a session tab, you can scroll by pressing Ctrl
+Shift
+PageUp
/ Ctrl
+Shift
+PageDn
(Windows and Linux) or Fn
+Shift
+Up
/ Fn
+Shift
+Down
(on Mac OS X).
To copy and paste text:
Select some text in the session display or another window using your mouse.
To copy the text, press Ctrl
+C
(on Windows or Linux) or Cmd
+C
(on macOS).
To paste at your cursor location, press Ctrl
+V
(on Windows or Linux) or Cmd
+V
(on macOS).
Click Send Key Combination and then press Ctrl
+V
.
To adjust your terminal settings, click Settings. In this menu, you can set your Terminal preferences for theme, font type and size, and copy, keyboard and scrollbar default settings.
Keyboard layout supportIf you're using an international keyboard or would like to customize your key bindings, Cloud Shell allows you to specify which key behaves as Alt Gr (your modifier key). To specify key mapping, go to the Terminal Settings menu, select Terminal Preferences > Keyboard > Alt Gr Key and choose one of the following options:
Additionally, you can set 'Alt is meta' to specify that your alt key should behave as a meta key.
Open multiple terminal sessionsTo open additional sessions, click Add Cloud Shell Session at the top of the Cloud Shell window. Each session connects to the same virtual machine instance. When you open a new session, it appears in a new tab at the bottom of the Google Cloud console.
Tab title customizationCloud Shell understands xterm escape sequences for setting tab titles. To rename a tab title, set the PS1
environment variable in your .bashrc to your desired configuration and source your .bashrc for the change to take.
To use the Gemini CLI in Cloud Shell, run gemini
in the Cloud Shell terminal.
To get started with the Gemini CLI, see the Gemini CLI documentation.
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-08-07 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[]]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4