Skip to content

Commit

Permalink
Update README to reflect only working installation methods
Browse files Browse the repository at this point in the history
fixes #69
  • Loading branch information
Byron committed Oct 27, 2020
1 parent 24f040a commit 9a38f1f
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@

### Installation

### Binary Release (MacOS, Windows)
### Binary Release (all but Windows)

#### MacOS & Windows
#### MacOS

```sh
curl -LSfs https://raw.githubusercontent.com/byron/dua-cli/master/ci/install.sh | \
Expand All @@ -26,20 +26,28 @@ curl -LSfs https://raw.githubusercontent.com/byron/dua-cli/master/ci/install.sh
sh -s -- --git byron/dua-cli --target x86_64-unknown-linux-musl --crate dua
```

#### Windows and others

See the [releases section][releases] for manual installation.

[releases]: https://github.com/Byron/dua-cli/releases

#### Cargo
Via `cargo`, which can be obtained using [rustup][rustup]

For _Unix_
```
cargo install dua-cli
# And if you don't need a terminal user interface
cargo install dua-cli --no-default-features
```

For _Windows_, nightly features are currently required.
```
cargo +nightly install dua-cli
```

#### VoidLinux
Via `xbps` on your VoidLinux system.

Expand Down Expand Up @@ -67,7 +75,7 @@ You will find pre-built binaries for Windows in the [releases section](https://g
Alternatively, install via cargo as in

```
cargo install dua-cli
cargo +nightly install dua-cli
```

### Usage
Expand Down

0 comments on commit 9a38f1f

Please sign in to comment.