diff --git a/docs/install-machine.md b/docs/install-machine.md index c4bcddd2ce..15b5f34f6d 100644 --- a/docs/install-machine.md +++ b/docs/install-machine.md @@ -28,29 +28,23 @@ instructions in the next section. 1. Install the Docker binary. -2. Download the archive containing the Docker Machine binary and extract it - to your PATH. +2. Download the Docker Machine binary and extract it to your PATH. Linux: - $ curl -L https://github.com/docker/machine/releases/download/v0.5.3/docker-machine_linux-amd64.zip >machine.zip && \ - unzip machine.zip && \ - rm machine.zip && \ - mv docker-machine /usr/local/bin + $ curl -L https://github.com/docker/machine/releases/download/v0.5.3/docker-machine_linux-amd64 >/usr/local/bin/docker-machine && \ + chmod +x /usr/local/bin/docker-machine OSX: - $ curl -L https://github.com/docker/machine/releases/download/v0.5.3/docker-machine_darwin-amd64.zip >machine.zip && \ - unzip machine.zip && \ - rm machine.zip && \ - mv docker-machine /usr/local/bin + $ curl -L https://github.com/docker/machine/releases/download/v0.5.3/docker-machine_darwin-amd64 >/usr/local/bin/docker-machine && \ + chmod +x /usr/local/bin/docker-machine Windows (using Git Bash): - $ curl -L https://github.com/docker/machine/releases/download/v0.5.3/docker-machine_windows-amd64.zip >machine.zip && \ - unzip machine.zip && \ - rm machine.zip && \ - mv docker-machine /usr/local/bin + $ if [[ ! -d "$HOME/bin" ]]; then mkdir -p "$HOME/bin"; fi && \ + curl -L https://github.com/docker/machine/releases/download/v0.5.3/docker-machine_windows-amd64.exe > "$HOME/bin/docker-machine.exe" && \ + chmod +x "$HOME/bin/docker-machine.exe" 3. Check the installation by displaying the Machine version: