mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-11-25 22:27:41 +00:00
Update installation instruction using Linux package managers
Added NixOS instruction. Close #1731
This commit is contained in:
parent
f51d61d57a
commit
ef80bd401f
47
README.md
47
README.md
@ -26,11 +26,13 @@ Table of Contents
|
|||||||
* [Using Homebrew or Linuxbrew](#using-homebrew-or-linuxbrew)
|
* [Using Homebrew or Linuxbrew](#using-homebrew-or-linuxbrew)
|
||||||
* [Using git](#using-git)
|
* [Using git](#using-git)
|
||||||
* [As Vim plugin](#as-vim-plugin)
|
* [As Vim plugin](#as-vim-plugin)
|
||||||
* [Arch Linux](#arch-linux)
|
* [Using Linux package managers](#using-linux-package-managers)
|
||||||
* [Debian](#debian)
|
* [Arch Linux](#arch-linux)
|
||||||
* [Fedora](#fedora)
|
* [Debian](#debian)
|
||||||
* [openSUSE](#opensuse)
|
* [Fedora](#fedora)
|
||||||
* [FreeBSD](#freebsd)
|
* [FreeBSD](#freebsd)
|
||||||
|
* [NixOS](#nixos)
|
||||||
|
* [openSUSE](#opensuse)
|
||||||
* [Windows](#windows)
|
* [Windows](#windows)
|
||||||
* [Upgrading fzf](#upgrading-fzf)
|
* [Upgrading fzf](#upgrading-fzf)
|
||||||
* [Building fzf](#building-fzf)
|
* [Building fzf](#building-fzf)
|
||||||
@ -141,13 +143,15 @@ Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
|
|||||||
" and you don't have to run the install script if you use fzf only in Vim.
|
" and you don't have to run the install script if you use fzf only in Vim.
|
||||||
```
|
```
|
||||||
|
|
||||||
### Arch Linux
|
### Using Linux package managers
|
||||||
|
|
||||||
|
#### Arch Linux
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sudo pacman -S fzf
|
sudo pacman -S fzf
|
||||||
```
|
```
|
||||||
|
|
||||||
### Debian
|
#### Debian
|
||||||
|
|
||||||
fzf is available in Debian Buster and above, and can be installed using the usual
|
fzf is available in Debian Buster and above, and can be installed using the usual
|
||||||
method:
|
method:
|
||||||
@ -156,9 +160,10 @@ method:
|
|||||||
sudo apt-get install fzf
|
sudo apt-get install fzf
|
||||||
```
|
```
|
||||||
|
|
||||||
Read the documentation (/usr/share/doc/fzf/README.Debian) on how to enable it.
|
Read the documentation (`/usr/share/doc/fzf/README.Debian`) on how to enable
|
||||||
|
it.
|
||||||
|
|
||||||
### Fedora
|
#### Fedora
|
||||||
|
|
||||||
fzf is available in Fedora 26 and above, and can be installed using the usual
|
fzf is available in Fedora 26 and above, and can be installed using the usual
|
||||||
method:
|
method:
|
||||||
@ -169,9 +174,23 @@ sudo dnf install fzf
|
|||||||
|
|
||||||
Shell completion and plugins for vim or neovim are enabled by default. Shell
|
Shell completion and plugins for vim or neovim are enabled by default. Shell
|
||||||
key bindings are installed but not enabled by default. See Fedora's package
|
key bindings are installed but not enabled by default. See Fedora's package
|
||||||
documentation (/usr/share/doc/fzf/README.Fedora) for more information.
|
documentation (`/usr/share/doc/fzf/README.Fedora`) for more information.
|
||||||
|
|
||||||
### openSUSE
|
#### FreeBSD
|
||||||
|
|
||||||
|
```sh
|
||||||
|
pkg install fzf
|
||||||
|
```
|
||||||
|
|
||||||
|
#### NixOS
|
||||||
|
|
||||||
|
You can use the [Nix package manager](https://nixos.org/nix/) to install fzf.
|
||||||
|
|
||||||
|
```sh
|
||||||
|
nix-env -iA nixpkgs.fzf
|
||||||
|
```
|
||||||
|
|
||||||
|
#### openSUSE
|
||||||
|
|
||||||
fzf is available in openSUSE Tumbleweed and can be installed via zypper:
|
fzf is available in openSUSE Tumbleweed and can be installed via zypper:
|
||||||
|
|
||||||
@ -179,12 +198,6 @@ fzf is available in openSUSE Tumbleweed and can be installed via zypper:
|
|||||||
sudo zypper install fzf
|
sudo zypper install fzf
|
||||||
```
|
```
|
||||||
|
|
||||||
### FreeBSD
|
|
||||||
|
|
||||||
```sh
|
|
||||||
pkg install fzf
|
|
||||||
```
|
|
||||||
|
|
||||||
### Windows
|
### Windows
|
||||||
|
|
||||||
Pre-built binaries for Windows can be downloaded [here][bin]. fzf is also
|
Pre-built binaries for Windows can be downloaded [here][bin]. fzf is also
|
||||||
|
Loading…
Reference in New Issue
Block a user