Skip to content
Myr

Move Installation and Development below Tutorial (#701)

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

authored by Travis Stewart · committed by GitHub · parent c7cf2d1 · Browse files · 1 file+156 added−156 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+156 added−156 removed

  • other:+156 added−156 removed

1 file+156 added−156 removed

modified:README.md+156 added-156 removed
126 unmodified lines
127```128129The number of threads used for command execution can be set with the `--threads`/`-j` option.130131## Installation132133[![Packaging status](https://repology.org/badge/vertical-allrepos/fd-find.svg)](https://repology.org/project/fd-find/versions)134135### On Ubuntu136*... and other Debian-based Linux distributions.*137138If you run Ubuntu 19.04 (Disco Dingo) or newer, you can install the139[officially maintained package](https://packages.ubuntu.com/fd-find):140```141sudo apt install fd-find142```143Note that the binary is called `fdfind` as the binary name `fd` is already used by another package.144It is recommended that you add an `alias fd=fdfind` to your shells initialization file, in order to145use `fd` in the same way as in this documentation.146147If you use an older version of Ubuntu, you can download the latest `.deb` package from the148[release page](https://github.com/sharkdp/fd/releases) and install it via:149``` bash150sudo dpkg -i fd_8.2.0_amd64.deb # adapt version number and architecture151```152153### On Debian154155If you run Debian Buster or newer, you can install the156[officially maintained Debian package](https://tracker.debian.org/pkg/rust-fd-find):157```158sudo apt-get install fd-find159```160Note that the binary is called `fdfind` as the binary name `fd` is already used by another package.161It is recommended that you add an `alias fd=fdfind` to your shells initialization file, in order to162use `fd` in the same way as in this documentation.163164### On Fedora165166Starting with Fedora 28, you can install `fd` from the official package sources:167``` bash168dnf install fd-find169```170171For older versions, you can use this [Fedora copr](https://copr.fedorainfracloud.org/coprs/keefle/fd/) to install `fd`:172``` bash173dnf copr enable keefle/fd174dnf install fd175```176177### On Alpine Linux178179You can install [the fd package](https://pkgs.alpinelinux.org/packages?name=fd)180from the official sources, provided you have the appropriate repository enabled:181```182apk add fd183```184185### On Arch Linux186187You can install [the fd package](https://www.archlinux.org/packages/community/x86_64/fd/) from the official repos:188```189pacman -S fd190```191### On Gentoo Linux192193You can use [the fd ebuild](https://packages.gentoo.org/packages/sys-apps/fd) from the official repo:194```195emerge -av fd196```197198### On openSUSE Linux199200You can install [the fd package](https://software.opensuse.org/package/fd) from the official repo:201```202zypper in fd203```204205### On Void Linux206207You can install `fd` via xbps-install:208```209xbps-install -S fd210```211212### On macOS213214You can install `fd` with [Homebrew](https://formulae.brew.sh/formula/fd):215```216brew install fd217```218219… or with MacPorts:220```221sudo port install fd222```223224### On Windows225226You can download pre-built binaries from the [release page](https://github.com/sharkdp/fd/releases).227228Alternatively, you can install `fd` via [Scoop](http://scoop.sh):229```230scoop install fd231```232233Or via [Chocolatey](https://chocolatey.org):234```235choco install fd236```237238### On NixOS / via Nix239240You can use the [Nix package manager](https://nixos.org/nix/) to install `fd`:241```242nix-env -i fd243```244245### On FreeBSD246247You can install [the fd-find package](https://www.freshports.org/sysutils/fd) from the official repo:248```249pkg install fd-find250```251252### From NPM253254On linux and macOS, you can install the [fd-find](https://npm.im/fd-find) package:255256```257npm install -g fd-find258```259260### From source261262With Rust's package manager [cargo](https://github.com/rust-lang/cargo), you can install *fd* via:263```264cargo install fd-find265```266Note that rust version *1.36.0* or later is required.267268### From binaries269270The [release page](https://github.com/sharkdp/fd/releases) includes precompiled binaries for Linux, macOS and Windows.271272## Development273```bash274git clone https://github.com/sharkdp/fd275276# Build277cd fd278cargo build279280# Run unit tests and integration tests281cargo test282283# Install284cargo install --path .285```286131## Command-line options132```133USAGE:134 fd [FLAGS/OPTIONS] [<pattern>] [<path>...]
288 unmodified lines
423For more information about `as-tree`, see [the `as-tree` README][`as-tree`].424425[`as-tree`]: https://github.com/jez/as-tree426427## Installation428429[![Packaging status](https://repology.org/badge/vertical-allrepos/fd-find.svg)](https://repology.org/project/fd-find/versions)430431### On Ubuntu432*... and other Debian-based Linux distributions.*433434If you run Ubuntu 19.04 (Disco Dingo) or newer, you can install the435[officially maintained package](https://packages.ubuntu.com/fd-find):436```437sudo apt install fd-find438```439Note that the binary is called `fdfind` as the binary name `fd` is already used by another package.440It is recommended that you add an `alias fd=fdfind` to your shells initialization file, in order to441use `fd` in the same way as in this documentation.442443If you use an older version of Ubuntu, you can download the latest `.deb` package from the444[release page](https://github.com/sharkdp/fd/releases) and install it via:445``` bash446sudo dpkg -i fd_8.1.0_amd64.deb # adapt version number and architecture447```448449### On Debian450451If you run Debian Buster or newer, you can install the452[officially maintained Debian package](https://tracker.debian.org/pkg/rust-fd-find):453```454sudo apt-get install fd-find455```456Note that the binary is called `fdfind` as the binary name `fd` is already used by another package.457It is recommended that you add an `alias fd=fdfind` to your shells initialization file, in order to458use `fd` in the same way as in this documentation.459460### On Fedora461462Starting with Fedora 28, you can install `fd` from the official package sources:463``` bash464dnf install fd-find465```466467For older versions, you can use this [Fedora copr](https://copr.fedorainfracloud.org/coprs/keefle/fd/) to install `fd`:468``` bash469dnf copr enable keefle/fd470dnf install fd471```472473### On Alpine Linux474475You can install [the fd package](https://pkgs.alpinelinux.org/packages?name=fd)476from the official sources, provided you have the appropriate repository enabled:477```478apk add fd479```480481### On Arch Linux482483You can install [the fd package](https://www.archlinux.org/packages/community/x86_64/fd/) from the official repos:484```485pacman -S fd486```487### On Gentoo Linux488489You can use [the fd ebuild](https://packages.gentoo.org/packages/sys-apps/fd) from the official repo:490```491emerge -av fd492```493494### On openSUSE Linux495496You can install [the fd package](https://software.opensuse.org/package/fd) from the official repo:497```498zypper in fd499```500501### On Void Linux502503You can install `fd` via xbps-install:504```505xbps-install -S fd506```507508### On macOS509510You can install `fd` with [Homebrew](https://formulae.brew.sh/formula/fd):511```512brew install fd513```514515… or with MacPorts:516```517sudo port install fd518```519520### On Windows521522You can download pre-built binaries from the [release page](https://github.com/sharkdp/fd/releases).523524Alternatively, you can install `fd` via [Scoop](http://scoop.sh):525```526scoop install fd527```528529Or via [Chocolatey](https://chocolatey.org):530```531choco install fd532```533534### On NixOS / via Nix535536You can use the [Nix package manager](https://nixos.org/nix/) to install `fd`:537```538nix-env -i fd539```540541### On FreeBSD542543You can install [the fd-find package](https://www.freshports.org/sysutils/fd) from the official repo:544```545pkg install fd-find546```547548### From NPM549550On linux and macOS, you can install the [fd-find](https://npm.im/fd-find) package:551552```553npm install -g fd-find554```555556### From source557558With Rust's package manager [cargo](https://github.com/rust-lang/cargo), you can install *fd* via:559```560cargo install fd-find561```562Note that rust version *1.36.0* or later is required.563564### From binaries565566The [release page](https://github.com/sharkdp/fd/releases) includes precompiled binaries for Linux, macOS and Windows.567568## Development569```bash570git clone https://github.com/sharkdp/fd571572# Build573cd fd574cargo build575576# Run unit tests and integration tests577cargo test578579# Install580cargo install --path .581```582583## Maintainers584585- [sharkdp](https://github.com/sharkdp)586- [tmccombs](https://github.com/tmccombs)
7 unmodified lines