Skip to content
Myr

Update installation instructions, see #174

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by sharkdp · committed by sharkdp · parent faf934d · Browse files · 1 file+28 added−20 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+28 added−20 removed

  • other:+28 added−20 removed

1 file+28 added−20 removed

modified:README.md+28 added-20 removed
121 unmodified lines
122# Count the number of lines in Rust files (the command template can be terminated with ';'):123fd -x wc -l \; -e rs124```125126## Install126## Installation127128### From source128### On Ubuntu129*... and other Debian-based Linux distrutions.*130130With Rust's package manager [cargo](https://github.com/rust-lang/cargo), you can install *fd* via:131Download the latest `.deb` package from the [release page](https://github.com/sharkdp/fd/releases) and install it via:132``` bash133sudo dpkg -i fd_6.1.0_amd64.deb # adapt version number and architecture134```132cargo install fd-find135136### On Arch Linux137138You can install [the fd-rs package](https://www.archlinux.org/packages/community/x86_64/fd-rs/) from the official repos:139```134Note that rust version *1.20.0* or later is required.140pacman -S fd-rs141```142136### From binaries143### On Void Linux144138The [release page](https://github.com/sharkdp/fd/releases) includes precompiled binaries for Linux, macOS and Windows.145You can install `fd` via xbps-install:146```147xbps-install -S fd148```149150### On macOS151152You can install [this Homebrew package](http://braumeister.org/formula/fd):153```154brew install fd155```156147### On Arch Linux157### On Windows158149You can install [the fd-rs package](https://www.archlinux.org/packages/community/x86_64/fd-rs/) from the official repos:150```151pacman -S fd-rs152```159You can download pre-built binaries from the [release page](https://github.com/sharkdp/fd/releases).160161### On NixOS / via Nix162163You can use the [Nix package manager](https://nixos.org/nix/) to install `fd`:164```165nix-env -i fd166```167161### Windows168### On FreeBSD169163You can download pre-built binaries from the [release page](https://github.com/sharkdp/fd/releases).164165### FreeBSD166170You can install `sysutils/fd` via portmaster:171```172portmaster sysutils/fd173```174172### On Void Linux175### From source176174You can install `fd` via xbps-install:177With Rust's package manager [cargo](https://github.com/rust-lang/cargo), you can install *fd* via:178```176xbps-install -S fd179cargo install fd-find180```181Note that rust version *1.20.0* or later is required.182183### From binaries184185The [release page](https://github.com/sharkdp/fd/releases) includes precompiled binaries for Linux, macOS and Windows.186187## Development188```bash189git clone https://github.com/sharkdp/fd190
143 unmodified lines