[ Web Proxy ]
URL:
Viewing: https://cloud.google.com/shell/docs/using-cloudshell-command [Back]  [Original]

Use the cloudshell command  |  Cloud Shell  |  Google Cloud Documentation Skip to main content
Google Cloud Documentation [Google Cloud Documentation]
Send feedback

Use the cloudshell command Stay organized with collections Save and categorize content based on your preferences.

The cloudshell command allows you to accomplish tasks like launching tutorials, downloading files, setting aliases, and opening existing files in the code editor from the Cloud Shell command line.

Available positional arguments for cloudshell are as follows:

Positional Argument Alternative name Description
help -h, --help show cloudshell help
edit-files edit-file, edit Open specified file in the Cloud Shell Editor
download-files download-file, download, dl Initiate the download of the specified file
aliases Generates short aliases for common subcommands

Example usage

To open your .bashrc file for edit in the Cloud Shell Editor, from the Cloud Shell command line, run:

cloudshell edit $HOME/.bashrc

Similarly, to download your .bashrc file, run:

cloudshell download $HOME/.bashrc

To display information about the cloudshell command from your Cloud Shell session, run cloudshell help.

Send feedback

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 2026-08-11 UTC.

Need to tell us more? [[["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 2026-08-11 UTC."],[],[]]

Web Proxy Viewer  |  New URL  |  Original Page