Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/rosswickman/aws-cloudshell-tools/llms.txt

Use this file to discover all available pages before exploring further.

versions.sh queries the version of every shell runtime and AWS CLI tool present in the CloudShell environment and prints the results to stdout. No write operations are performed — it is purely read-only.

Run the command

curl -LfsS https://link.rwick.it/aws-cloudshell-versions | bash

What the script checks

scripts/versions.sh
#!/bin/bash

echo ""
echo "Getting Shell Versions..."
echo ""

bash --version
echo ""

zsh --version
echo ""

pwsh --version
echo ""

echo "Getting AWS CLI Versions..."
echo ""

aws --version
echo ""

eb --version
echo ""

ecs-cli --version
echo ""

sam --version
echo ""

Expected output

The script produces two groups of output:
  • “Getting Shell Versions…” — displays the output of bash --version, zsh --version, and pwsh --version in sequence, each separated by a blank line.
  • “Getting AWS CLI Versions…” — displays the output of aws --version, eb --version, ecs-cli --version, and sam --version in sequence, each separated by a blank line.
Output format varies per tool. Some tools print a single version string; others (like aws --version) include platform and Python version info.

When to use this

  • Before running deployments to confirm tool versions
  • After a CloudShell session restart to verify the environment state
  • When troubleshooting compatibility issues with AWS services
  • To document the exact tool versions used in a deployment
AWS CloudShell environments are periodically updated by AWS. Run this script at the start of a session to confirm the current state of your environment.

Build docs developers (and LLMs) love