Add instructions for npm

This commit is contained in:
Pablo Varela 2019-05-08 16:13:02 +02:00 committed by David Peter
parent 5cbd8405ec
commit 801816ee6c
1 changed files with 19 additions and 5 deletions

View File

@ -198,6 +198,12 @@ brew install fd
sudo port install fd
```
… or with npm:
```
npm install -g fd-find
```
### On Windows
You can download pre-built binaries from the [release page](https://github.com/sharkdp/fd/releases).
@ -234,6 +240,14 @@ export PKG_PATH=https://repo.epbsd.org/pub/OpenBSD/$(arch -s):${PKG_PATH}
pkg_add fd
```
### From NPM
On linux and macOS, you can install the [fd-find](https://npm.im/fd-find) package:
```
npm install -g fd-find
```
### From source
With Rust's package manager [cargo](https://github.com/rust-lang/cargo), you can install *fd* via: