From 52bc5aae75fdfe0ce74c357e5c601c4ea571b9ac Mon Sep 17 00:00:00 2001 From: Robby Date: Tue, 10 Apr 2018 22:49:12 -0500 Subject: Updated Windows and Manual installation doc. --- docs/pages/1 - Intro to Mill.md | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'docs/pages/1 - Intro to Mill.md') diff --git a/docs/pages/1 - Intro to Mill.md b/docs/pages/1 - Intro to Mill.md index c11d9de1..495c3c30 100644 --- a/docs/pages/1 - Intro to Mill.md +++ b/docs/pages/1 - Intro to Mill.md @@ -35,7 +35,7 @@ pacaur -S mill ### Windows -To get started, download Mill from: https://github.com/lihaoyi/mill/releases/download/0.1.8/0.1.8, +To get started, download Mill from: https://github.com/lihaoyi/mill/releases/download/0.2.0/0.2.0, and save it as `mill.bat`. Mill also works on a sh environment on Windows (e.g., @@ -45,15 +45,13 @@ Mill also works on a sh environment on Windows (e.g., [WSL](https://docs.microsoft.com/en-us/windows/wsl); to get started, follow the instructions in the [manual](#manual) section below. Note that: -* In some environments (such as WSL), mill has be run using interactive mode (`-i`) +* In some environments (such as WSL), mill might have to be run using interactive mode (`-i`) -* Git-Bash: run the instruciton in administrator mode instead of `sudo` +* On Cygwin, run the following after downloading mill: -* Cygwin: run the following after downloading mill: - - ```bash - sed -i '0,/-cp "\$0"/{s/-cp "\$0"/-cp `cygpath -w "\$0"`/}; 0,/-cp "\$0"/{s/-cp "\$0"/-cp `cygpath -w "\$0"`/}' /usr/local/bin/mill - ``` +```bash +sed -i '0,/-cp "\$0"/{s/-cp "\$0"/-cp `cygpath -w "\$0"`/}; 0,/-cp "\$0"/{s/-cp "\$0"/-cp `cygpath -w "\$0"`/}' /usr/local/bin/mill +``` ### Manual @@ -61,7 +59,7 @@ To get started, download Mill and install it into your system via the following `curl`/`chmod` command: ```bash -sudo curl -L -o /usr/local/bin/mill https://github.com/lihaoyi/mill/releases/download/0.1.7/0.1.7 && sudo chmod +x /usr/local/bin/mill +sudo sh -c '(echo "#!/usr/bin/env sh" && curl -L https://github.com/lihaoyi/mill/releases/download/0.2.0/0.2.0) > /usr/local/bin/mill && chmod +x /usr/local/bin/mill' ``` ### Development Releases -- cgit v1.2.3