AWS CloudShell CLI

mdourmouch3 pts0 comments

GitHub - mdourmouch/aws-cloudshell-cli · GitHub

/" data-turbo-transient="true" />

Skip to content

Search or jump to...

Search code, repositories, users, issues, pull requests...

-->

Search

Clear

Search syntax tips

Provide feedback

--><br>We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Cancel

Submit feedback

Saved searches

Use saved searches to filter your results more quickly

-->

Name

Query

To see all available qualifiers, see our documentation.

Cancel

Create saved search

Sign in

/;ref_cta:Sign up;ref_loc:header logged out"}"<br>Sign up

Appearance settings

Resetting focus

You signed in with another tab or window. Reload to refresh your session.<br>You signed out in another tab or window. Reload to refresh your session.<br>You switched accounts on another tab or window. Reload to refresh your session.

Dismiss alert

{{ message }}

mdourmouch

aws-cloudshell-cli

Public

Notifications<br>You must be signed in to change notification settings

Fork

Star

master

BranchesTags

Go to file

CodeOpen more actions menu

Folders and files<br>NameNameLast commit message<br>Last commit date<br>Latest commit

History<br>5 Commits<br>5 Commits

.vscode

.vscode

data

data

scripts

scripts

src

src

.editorconfig

.editorconfig

.gitignore

.gitignore

LICENSE

LICENSE

README.md

README.md

pyproject.toml

pyproject.toml

uv.lock

uv.lock

View all files

Repository files navigation

aws-cloudshell-cli

A CLI tool to interact with AWS CloudShell directly from your local terminal. Connect to CloudShell environments, run remote commands, manage environments, and download files.

Requirements

Python 3.13+

AWS CLI configured with valid credentials

Session Manager Plugin

Installation

pip install git+https://github.com/mdourmouch/aws-cloudshell-cli.git

Usage

cloudshell --help<br>Usage: cloudshell [OPTIONS] COMMAND [ARGS]...

Interact with AWS CloudShell from your terminal.

Options:<br>--help Show this message and exit.

Commands:<br>connect Connect to a CloudShell environment.<br>create-environment Create a new CloudShell environment.<br>delete-environment Delete a CloudShell environment.<br>download Download a file from a CloudShell environment.<br>list-environments List available CloudShell environments.<br>run Run a single command in CloudShell and exit.

# List available environments<br>cloudshell list-environments

# Connect to an environment interactively<br>cloudshell connect

# Run a command remotely and print the output<br>cloudshell run -- ls -la

# Run a command silently (exit code only)<br>cloudshell run --silent -- whoami

# Pipe a command via stdin<br>echo "cat /etc/os-release" | cloudshell run

# Download a file from CloudShell<br>cloudshell download /path/to/remote/file

Use --region and --profile with any command to specify a custom AWS region or profile.

About

No description, website, or topics provided.

Resources

Readme

License

GPL-3.0 license

Uh oh!

There was an error while loading. Please reload this page.

Activity

Stars

stars

Watchers

watching

Forks

forks

Report repository

Releases

v0.2.0

Latest

Jun 3, 2026

Packages

Uh oh!

There was an error while loading. Please reload this page.

Contributors

Uh oh!

There was an error while loading. Please reload this page.

Languages

Python<br>73.9%

JavaScript<br>24.3%

Shell<br>1.8%

You can’t perform that action at this time.

cloudshell environment reload environments command search

Related Articles