如果你是 Windows 平台,可以使用 Git BASH,并输入以下命令:
base=https://github.com/docker/machine/releases/download/v0.16.0 &&
mkdir -p "$HOME/bin" &&
curl -L $base/docker-machine-Windows-x86_64.exe > "$HOME/bin/docker-machine.exe" &&
chmod +x "$HOME/bin/docker-machine.exe"
在桌面上鼠标右键
![](https://file.jishuzhan.net/article/1764093680815181826/97688713bf458073dee26d14b55cc0eb.webp)
输入上面的指令
![](https://file.jishuzhan.net/article/1764093680815181826/cc42b035d4573f3d6490371a8c0b7bbb.webp)
等待安装完成
![](https://file.jishuzhan.net/article/1764093680815181826/c6df2b6878f71b76cc4384747e6308de.webp)
安装完成
![](https://file.jishuzhan.net/article/1764093680815181826/e83036ae8b5ab7ed6fc54397c85d1ab3.webp)
查看是否安装成功:
docker-machine version
docker-machine version 0.16.0, build 9371605