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
Provenance
- Commit
aeb3722- Tree
6dac63e- Author
sharkdp <davidpeter@web.de>- Committer
sharkdp <davidpeter@web.de>- Parent
faf934d
1 file changed+28 added−20 removed
modified:README.md+28 added-20 removed
121 unmodified lines122 # Count the number of lines in Rust files (the command template can be terminated with ';'):123 fd -x wc -l \; -e rs124 ```125 126-## Install126+## Installation127 128-### From source128+### On Ubuntu129+*... and other Debian-based Linux distrutions.*130 130-With Rust's package manager [cargo](https://github.com/rust-lang/cargo), you can install *fd* via:131+Download the latest `.deb` package from the [release page](https://github.com/sharkdp/fd/releases) and install it via:132+``` bash133+sudo dpkg -i fd_6.1.0_amd64.deb # adapt version number and architecture134 ```132-cargo install fd-find135+136+### On Arch Linux137+138+You can install [the fd-rs package](https://www.archlinux.org/packages/community/x86_64/fd-rs/) from the official repos:139 ```134-Note that rust version *1.20.0* or later is required.140+pacman -S fd-rs141+```142 136-### From binaries143+### On Void Linux144 138-The [release page](https://github.com/sharkdp/fd/releases) includes precompiled binaries for Linux, macOS and Windows.145+You can install `fd` via xbps-install:146+```147+xbps-install -S fd148+```149 150 ### On macOS151 152 You can install [this Homebrew package](http://braumeister.org/formula/fd):153 ```154 brew install fd155 ```156 147-### On Arch Linux157+### On Windows158 149-You can install [the fd-rs package](https://www.archlinux.org/packages/community/x86_64/fd-rs/) from the official repos:150-```151-pacman -S fd-rs152-```159+You can download pre-built binaries from the [release page](https://github.com/sharkdp/fd/releases).160 161 ### On NixOS / via Nix162 163 You can use the [Nix package manager](https://nixos.org/nix/) to install `fd`:164 ```165 nix-env -i fd166 ```167 161-### Windows168+### On FreeBSD169 163-You can download pre-built binaries from the [release page](https://github.com/sharkdp/fd/releases).164-165-### FreeBSD166-170 You can install `sysutils/fd` via portmaster:171 ```172 portmaster sysutils/fd173 ```174 172-### On Void Linux175+### From source176 174-You can install `fd` via xbps-install:177+With Rust's package manager [cargo](https://github.com/rust-lang/cargo), you can install *fd* via:178 ```176-xbps-install -S fd179+cargo install fd-find180 ```181+Note that rust version *1.20.0* or later is required.182 183+### From binaries184+185+The [release page](https://github.com/sharkdp/fd/releases) includes precompiled binaries for Linux, macOS and Windows.186+187 ## Development188 ```bash189 git clone https://github.com/sharkdp/fd190 143 unmodified lines