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
Provenance
- Commit
7dc8138- Tree
bb635ed- Author
Travis Stewart <tstewart.writer@gmail.com>- Committer
GitHub <noreply@github.com>- Parent
c7cf2d1
1 file changed+156 added−156 removed
modified:README.md+156 added-156 removed
126 unmodified lines127 ```128 129 The number of threads used for command execution can be set with the `--threads`/`-j` option.130 131-## Installation132-133-[](https://repology.org/project/fd-find/versions)134-135-### On Ubuntu136-*... and other Debian-based Linux distributions.*137-138-If you run Ubuntu 19.04 (Disco Dingo) or newer, you can install the139-[officially maintained package](https://packages.ubuntu.com/fd-find):140-```141-sudo apt install fd-find142-```143-Note that the binary is called `fdfind` as the binary name `fd` is already used by another package.144-It is recommended that you add an `alias fd=fdfind` to your shells initialization file, in order to145-use `fd` in the same way as in this documentation.146-147-If 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-``` bash150-sudo dpkg -i fd_8.2.0_amd64.deb # adapt version number and architecture151-```152-153-### On Debian154-155-If you run Debian Buster or newer, you can install the156-[officially maintained Debian package](https://tracker.debian.org/pkg/rust-fd-find):157-```158-sudo apt-get install fd-find159-```160-Note that the binary is called `fdfind` as the binary name `fd` is already used by another package.161-It is recommended that you add an `alias fd=fdfind` to your shells initialization file, in order to162-use `fd` in the same way as in this documentation.163-164-### On Fedora165-166-Starting with Fedora 28, you can install `fd` from the official package sources:167-``` bash168-dnf install fd-find169-```170-171-For older versions, you can use this [Fedora copr](https://copr.fedorainfracloud.org/coprs/keefle/fd/) to install `fd`:172-``` bash173-dnf copr enable keefle/fd174-dnf install fd175-```176-177-### On Alpine Linux178-179-You can install [the fd package](https://pkgs.alpinelinux.org/packages?name=fd)180-from the official sources, provided you have the appropriate repository enabled:181-```182-apk add fd183-```184-185-### On Arch Linux186-187-You can install [the fd package](https://www.archlinux.org/packages/community/x86_64/fd/) from the official repos:188-```189-pacman -S fd190-```191-### On Gentoo Linux192-193-You can use [the fd ebuild](https://packages.gentoo.org/packages/sys-apps/fd) from the official repo:194-```195-emerge -av fd196-```197-198-### On openSUSE Linux199-200-You can install [the fd package](https://software.opensuse.org/package/fd) from the official repo:201-```202-zypper in fd203-```204-205-### On Void Linux206-207-You can install `fd` via xbps-install:208-```209-xbps-install -S fd210-```211-212-### On macOS213-214-You can install `fd` with [Homebrew](https://formulae.brew.sh/formula/fd):215-```216-brew install fd217-```218-219-… or with MacPorts:220-```221-sudo port install fd222-```223-224-### On Windows225-226-You can download pre-built binaries from the [release page](https://github.com/sharkdp/fd/releases).227-228-Alternatively, you can install `fd` via [Scoop](http://scoop.sh):229-```230-scoop install fd231-```232-233-Or via [Chocolatey](https://chocolatey.org):234-```235-choco install fd236-```237-238-### On NixOS / via Nix239-240-You can use the [Nix package manager](https://nixos.org/nix/) to install `fd`:241-```242-nix-env -i fd243-```244-245-### On FreeBSD246-247-You can install [the fd-find package](https://www.freshports.org/sysutils/fd) from the official repo:248-```249-pkg install fd-find250-```251-252-### From NPM253-254-On linux and macOS, you can install the [fd-find](https://npm.im/fd-find) package:255-256-```257-npm install -g fd-find258-```259-260-### From source261-262-With Rust's package manager [cargo](https://github.com/rust-lang/cargo), you can install *fd* via:263-```264-cargo install fd-find265-```266-Note that rust version *1.36.0* or later is required.267-268-### From binaries269-270-The [release page](https://github.com/sharkdp/fd/releases) includes precompiled binaries for Linux, macOS and Windows.271-272-## Development273-```bash274-git clone https://github.com/sharkdp/fd275-276-# Build277-cd fd278-cargo build279-280-# Run unit tests and integration tests281-cargo test282-283-# Install284-cargo install --path .285-```286-131 ## Command-line options132 ```133 USAGE:134 fd [FLAGS/OPTIONS] [<pattern>] [<path>...]288 unmodified lines423 For more information about `as-tree`, see [the `as-tree` README][`as-tree`].424 425 [`as-tree`]: https://github.com/jez/as-tree426 427+## Installation428+429+[](https://repology.org/project/fd-find/versions)430+431+### On Ubuntu432+*... and other Debian-based Linux distributions.*433+434+If you run Ubuntu 19.04 (Disco Dingo) or newer, you can install the435+[officially maintained package](https://packages.ubuntu.com/fd-find):436+```437+sudo apt install fd-find438+```439+Note that the binary is called `fdfind` as the binary name `fd` is already used by another package.440+It is recommended that you add an `alias fd=fdfind` to your shells initialization file, in order to441+use `fd` in the same way as in this documentation.442+443+If 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+``` bash446+sudo dpkg -i fd_8.1.0_amd64.deb # adapt version number and architecture447+```448+449+### On Debian450+451+If you run Debian Buster or newer, you can install the452+[officially maintained Debian package](https://tracker.debian.org/pkg/rust-fd-find):453+```454+sudo apt-get install fd-find455+```456+Note that the binary is called `fdfind` as the binary name `fd` is already used by another package.457+It is recommended that you add an `alias fd=fdfind` to your shells initialization file, in order to458+use `fd` in the same way as in this documentation.459+460+### On Fedora461+462+Starting with Fedora 28, you can install `fd` from the official package sources:463+``` bash464+dnf install fd-find465+```466+467+For older versions, you can use this [Fedora copr](https://copr.fedorainfracloud.org/coprs/keefle/fd/) to install `fd`:468+``` bash469+dnf copr enable keefle/fd470+dnf install fd471+```472+473+### On Alpine Linux474+475+You can install [the fd package](https://pkgs.alpinelinux.org/packages?name=fd)476+from the official sources, provided you have the appropriate repository enabled:477+```478+apk add fd479+```480+481+### On Arch Linux482+483+You can install [the fd package](https://www.archlinux.org/packages/community/x86_64/fd/) from the official repos:484+```485+pacman -S fd486+```487+### On Gentoo Linux488+489+You can use [the fd ebuild](https://packages.gentoo.org/packages/sys-apps/fd) from the official repo:490+```491+emerge -av fd492+```493+494+### On openSUSE Linux495+496+You can install [the fd package](https://software.opensuse.org/package/fd) from the official repo:497+```498+zypper in fd499+```500+501+### On Void Linux502+503+You can install `fd` via xbps-install:504+```505+xbps-install -S fd506+```507+508+### On macOS509+510+You can install `fd` with [Homebrew](https://formulae.brew.sh/formula/fd):511+```512+brew install fd513+```514+515+… or with MacPorts:516+```517+sudo port install fd518+```519+520+### On Windows521+522+You can download pre-built binaries from the [release page](https://github.com/sharkdp/fd/releases).523+524+Alternatively, you can install `fd` via [Scoop](http://scoop.sh):525+```526+scoop install fd527+```528+529+Or via [Chocolatey](https://chocolatey.org):530+```531+choco install fd532+```533+534+### On NixOS / via Nix535+536+You can use the [Nix package manager](https://nixos.org/nix/) to install `fd`:537+```538+nix-env -i fd539+```540+541+### On FreeBSD542+543+You can install [the fd-find package](https://www.freshports.org/sysutils/fd) from the official repo:544+```545+pkg install fd-find546+```547+548+### From NPM549+550+On linux and macOS, you can install the [fd-find](https://npm.im/fd-find) package:551+552+```553+npm install -g fd-find554+```555+556+### From source557+558+With Rust's package manager [cargo](https://github.com/rust-lang/cargo), you can install *fd* via:559+```560+cargo install fd-find561+```562+Note that rust version *1.36.0* or later is required.563+564+### From binaries565+566+The [release page](https://github.com/sharkdp/fd/releases) includes precompiled binaries for Linux, macOS and Windows.567+568+## Development569+```bash570+git clone https://github.com/sharkdp/fd571+572+# Build573+cd fd574+cargo build575+576+# Run unit tests and integration tests577+cargo test578+579+# Install580+cargo install --path .581+```582+583 ## Maintainers584 585 - [sharkdp](https://github.com/sharkdp)586 - [tmccombs](https://github.com/tmccombs)7 unmodified lines