diff --git a/README.md b/README.md index 228d33e..70710e1 100644 --- a/README.md +++ b/README.md @@ -124,31 +124,47 @@ fd -x wc -l \; -e rs ``` ## Install + +### From source + With Rust's package manager [cargo](https://github.com/rust-lang/cargo), you can install *fd* via: ``` cargo install fd-find ``` Note that rust version *1.19.0* or later is required. -The release page of this repository also includes precompiled binaries for Linux. -On **macOS**, you can use [Homebrew](http://braumeister.org/formula/fd): +### From binaries + +The [release page](https://github.com/sharkdp/fd/releases) includes precompiled binaries for Linux, macOS and Windows. + +### On macOS + +You can install [this Homebrew package](http://braumeister.org/formula/fd): ``` brew install fd ``` -On **Arch Linux**, you can install the package from the official repos: +### On Arch Linux + +You can install [the fd-rs package](https://www.archlinux.org/packages/community/x86_64/fd-rs/) from the official repos: ``` pacman -S fd-rs ``` -On **NixOS**, or any Linux distro you can use [Nix](https://nixos.org/nix/): +### On NixOS / via Nix + +You can use the [Nix package manager](https://nixos.org/nix/) to install `fd`: ``` nix-env -i fd ``` -On **Windows**, you can download the pre-built binaries from the [Release page](https://github.com/sharkdp/fd/releases). +### Windows -On **FreeBSD**, you can install from ports, it's located in `sysutils/fd`: +You can download pre-built binaries from the [release page](https://github.com/sharkdp/fd/releases). + +### FreeBSD + +You can install `sysutils/fd` via portmaster: ``` portmaster sysutils/fd ```