Skip to content

Quick Reference

CommandPurpose
wsl --list --verboseList installed distros with version and state
wsl --shutdownStop all running WSL instances
wsl --statusShow WSL configuration status
wsl -d Ubuntu-26.04Start a specific distribution
wsl --updateUpdate WSL to the latest version
CommandPurpose
docker psList running containers
docker ps -aList all containers including stopped
docker imagesList downloaded images
docker run --rm <image>Run a container and remove it on exit
docker compose up -dStart services defined in docker-compose.yml
docker compose downStop and remove compose services
docker system prune -fRemove unused containers, networks, and images
CommandPurpose
aws sso login --profile <profile>Authenticate with AWS SSO
aws sts get-caller-identity --profile <profile>Verify current authenticated identity
aws sso logoutClear all cached SSO tokens
aws configure list-profilesList all configured AWS profiles
cat ~/.aws/configView AWS CLI profile configuration
CommandPurpose
git config --global user.nameShow configured Git username
git config --global user.emailShow configured Git email
ssh -T git@github.comTest GitHub SSH authentication
git clone git@github.com:<org>/<repo>.gitClone a repository via SSH
git statusShow working tree status
git log --oneline -10Show last 10 commits in compact format
ActionHow
Open WSL folder in KiroCommand Palette → Remote-WSL: Open Folder in WSL
Create a new specCommand Palette → Kiro: Create Spec
View steering filesOpen .kiro/steering/ directory in the file explorer
Check MCP configurationOpen .kiro/settings/mcp.json
Open integrated terminalCtrl+` or Terminal → New Terminal

Run from WSL bash unless noted. Start a session with kiro-cli or kiro-cli chat --agent <name>.

Command / slash cmdPurpose
kiro-cli chat --agent cloud-opsStart session with a specific agent
/agent listList available agents
/agent createCreate a new agent interactively
/agent editEdit current agent JSON in editor
/agent swap <name>Switch agent during session
/toolsList tools and trust status
/mcpShow MCP server status
/hooksShow configured hooks
/qExit current session
PathPurpose
~/.aws/configAWS CLI profiles and SSO configuration
~/.ssh/configSSH client configuration
~/.ssh/id_ed25519.pubSSH public key (for GitHub)
~/.gitconfigGlobal Git configuration
~/workspace/Recommended project workspace root
.kiro/steering/Project-level Kiro steering files
.kiro/settings/mcp.jsonProject-level MCP server configuration
~/.kiro/agents/Global Kiro CLI agent definitions
~/.kiro/settings/mcp.jsonGlobal Kiro CLI MCP configuration
Terminal window
# Commonly set in ~/.bashrc or ~/.profile
export AWS_PROFILE="your-profile-name"
export AWS_REGION="us-east-1"
  • Always open WSL folders via Kiro’s Remote-WSL connection for full Linux toolchain access
  • Run aws sso login at the start of each work session — SSO tokens expire after several hours
  • Use docker system prune periodically to reclaim disk space from unused containers and images
  • If Docker stops responding in WSL, restart Docker Desktop from the Windows system tray
  • Keep your WSL2 distribution updated separately from Windows updates