- [Features](#features)
- [Performance](#performance)
- [Installation](#installation)
+ - [Dependencies](#dependencies)
+ - [From a package manager](#from-a-package-manager)
- [Release packages](#release-packages)
+ - [From source](#from-source)
- [Usage](#usage)
- [Cmdline options](#cmdline-options)
- [Keyboard shortcuts](#keyboard-shortcuts)
### Installation
+#### Dependencies
+
`nnn` needs libreadline, libncursesw (on Linux or ncurses on OS X) and standard libc.
-- Packages are available on
- - [AUR](https://aur.archlinux.org/packages/nnn/)
- - [Debian](https://packages.debian.org/search?keywords=nnn)
- - [Homebrew](http://braumeister.org/formula/nnn)
- - [Ubuntu PPA](https://launchpad.net/~twodopeshaggy/+archive/ubuntu/jarun/)
-- To cook yourself, download the [latest stable release](https://github.com/jarun/nnn/releases/latest) or clone this repository (*risky*). Then install the dependencies and compile (e.g. on Ubuntu 16.04):
+#### From a package manager
- $ sudo apt-get install libncursesw5-dev libreadline6-dev
- $ make
- $ sudo make install
+- [AUR](https://aur.archlinux.org/packages/nnn/)
+- [Debian](https://packages.debian.org/search?keywords=nnn)
+- [Homebrew](http://braumeister.org/formula/nnn)
+- [Ubuntu PPA](https://launchpad.net/~twodopeshaggy/+archive/ubuntu/jarun/)
#### Release packages
Packages for Arch Linux, CentOS, Fedora and Ubuntu are available with the [latest stable release](https://github.com/jarun/nnn/releases/latest).
+#### From source
+
+To cook yourself, download the [latest stable release](https://github.com/jarun/nnn/releases/latest) or clone this repository (*risky*). Then install the dependencies and compile (e.g. on Ubuntu 16.04):
+
+ $ sudo apt-get install libncursesw5-dev libreadline6-dev
+ $ make
+ $ sudo make install
+
+`PREFIX` is supported, in case you want to install to a different location.
+
### Usage
#### Cmdline options