diff --git a/README.md b/README.md index b4bf9c1..46371bc 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ integration. ## Usage
-Click to show a complete list of options +Complete list of options (click to show) ```console @@ -482,13 +482,14 @@ You can download prebuilt binaries from the [Release page](https://github.com/ta Prebuilt binaries are available for macOS, Linux (gnu and musl), Windows (static executable), FreeBSD, and illumos.
-Example of script to download cargo-hack +Example of script to install from the Release page (click to show) ```sh # Get host target host=$(rustc -vV | grep '^host:' | cut -d' ' -f2) # Download binary and install to $HOME/.cargo/bin -curl --proto '=https' --tlsv1.2 -fsSL https://github.com/taiki-e/cargo-hack/releases/latest/download/cargo-hack-$host.tar.gz | tar xzf - -C "$HOME/.cargo/bin" +curl --proto '=https' --tlsv1.2 -fsSL "https://github.com/taiki-e/cargo-hack/releases/latest/download/cargo-hack-$host.tar.gz" \ + | tar xzf - -C "$HOME/.cargo/bin" ```