serving the solutions day and night

Pages

Wednesday, June 25, 2025

Install Docker CLI on Windows

 

Step-by-Step: Install Docker CLI on Windows

1. Download the Docker CLI Binary

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:

    [System.Environment]::SetEnvironmentVariable("Path", $env:Path + ";C:\Tools\DockerCLI", [System.EnvironmentVariableTarget]::Machine)

    Replace C:\Tools\DockerCLI with the path where you extracted docker.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:

    Client: Docker CLI