Step-by-Step: Install Docker CLI on Windows
1. Download the Docker CLI Binary
-
Visit the official Docker static binaries repository:
-
Download the latest
.zip
archive, for example: docker-28.3.0.zip
2. Extract the Archive
-
Extract the contents of the
.zip
file to a directory of your choice, such as: C:\Tools\DockerCLI -
Inside this directory, you should find the
docker.exe
file.
3. Add Docker CLI to System PATH
-
Open PowerShell as Administrator and run the following command to add the directory to your system's PATH:
Replace
C:\Tools\DockerCLI
with the path where you extracteddocker.exe
. -
Restart your terminal to apply the changes.
4. Verify the Installation
-
Open a new PowerShell or Command Prompt and run: docker version
You should see output similar to: