mirror of
https://github.com/sharkdp/fd
synced 2024-11-05 16:58:21 +00:00
Updated installation instructions
This commit is contained in:
parent
9be32fa6a7
commit
0999f8e328
1 changed files with 22 additions and 6 deletions
28
README.md
28
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
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue