Install software
Check the tools on your computer and install anything missing.
Check your tools
Open Windows PowerShell and start Docker Desktop if you use it. Run these checks from Windows.
git --version
az version
az bicep version
docker version
docker buildx version
kubectl version --client
curl.exe --version
tar.exe --version
Run these checks in Bash on Linux. The install examples below use Ubuntu 24.04.
bash --version
git --version
az version
az bicep version
docker version
docker buildx version
kubectl version --client
jq --version
curl --version
openssl version
command -v zip
Each command should return a version or path. az version reports the Azure CLI version, and az bicep version reports the Bicep compiler version. Check these minimums and look for a Server section in the Docker output.
| Tool | Expected result |
|---|---|
| Azure CLI and Bicep | Azure CLI 2.91 or newer. The workshop uses Bicep 0.49.2. |
| Docker and Buildx | Server 24 or newer, with Linux as its OS. Buildx reports a version. |
| kubectl | Client 1.32 or newer. Keep it within one minor version of the cluster. |
| Utilities | Git for Windows includes OpenSSL for the TLS exercise. Windows provides curl.exe and tar.exe. |
| Utilities | Bash 4+, jq 1.6+, OpenSSL 3+, versions for Git and curl, and a path to zip. |
Install missing tools
Windows · Install only the tools you are missing
If winget is unavailable, install or update App Installer. Reopen PowerShell after installing a tool so it reloads your PATH.
winget install --exact --id Git.Git
winget install --exact --id Microsoft.AzureCLI
If Bicep is missing after you install Azure CLI, run az bicep install. --version selects the compiler release used in the workshop.
az bicep install --version v0.49.2
winget install --id Docker.DockerDesktop --exact
Start Docker Desktop and use its Linux container engine. Docker manages the Linux environment itself, so the workshop commands stay in PowerShell. Review the Docker Desktop requirements and license.
If Docker Desktop asks you to enable WSL 2
Use Administrator PowerShell to enable the Windows component without installing a Linux distribution. Restart Windows if prompted. Microsoft WSL options
wsl --install --no-distribution
Check kubectl after installing Docker Desktop, which can provide it. Install separately only if missing or if you need a compatible version. kubectl installation
winget install --exact --id Kubernetes.kubectl
Ubuntu 24.04 · Git and other command-line tools
sudo apt update
sudo apt install bash ca-certificates curl git gnupg jq openssl zip
Ubuntu 24.04 · Docker Engine and Buildx
On other Linux distributions, follow the Docker Engine installation instructions.
sudo apt update
sudo apt install docker.io docker-buildx
sudo systemctl enable --now docker
To run Docker as your regular user, add your user to the docker group. This group grants root-level access through Docker. Sign out and back in after changing membership. Docker permissions
sudo usermod -aG docker "$USER"
Ubuntu 24.04 · Azure CLI and Bicep
Install curl and GnuPG from the command-line tools section first. Download Microsoft's package signing key. Microsoft Azure CLI instructions
curl -fsSLo microsoft.asc https://packages.microsoft.com/keys/microsoft.asc
Convert the downloaded key to the binary keyring format used by apt.
gpg --dearmor --yes -o microsoft.gpg microsoft.asc
Once GnuPG creates microsoft.gpg, install it in the apt keyring directory.
sudo install -Dm 0644 microsoft.gpg /etc/apt/keyrings/microsoft.gpg
Add Microsoft's package source, then install Azure CLI.
sudo tee /etc/apt/sources.list.d/azure-cli.sources >/dev/null <<'EOF'
Types: deb
URIs: https://packages.microsoft.com/repos/azure-cli/
Suites: noble
Components: main
Signed-by: /etc/apt/keyrings/microsoft.gpg
EOF
sudo apt update
sudo apt install azure-cli
Once az version works, install Bicep if it is missing. --version selects the workshop's compiler release.
az bicep install --version v0.49.2
Linux x64 · kubectl
Download kubectl 1.34.1 and its checksum. Kubernetes installation instructions
curl -fLO https://dl.k8s.io/release/v1.34.1/bin/linux/amd64/kubectl
curl -fLO https://dl.k8s.io/release/v1.34.1/bin/linux/amd64/kubectl.sha256
Check the downloaded binary against the checksum.
printf '%s kubectl\n' "$(cat kubectl.sha256)" | sha256sum --check
Install the binary once the check prints kubectl: OK.
sudo install -m 0755 kubectl /usr/local/bin/kubectl