diff --git a/Developer-guides.md b/Developer-guides.md index 5933bca..180d39d 100644 --- a/Developer-guides.md +++ b/Developer-guides.md @@ -158,6 +158,12 @@ $ ls -l nnn-static 31953 user 20 0 2428 2244 4 S 0.0 0.0 0:00.02 ./nnn-static -cdDEnQrux /usr/bin ``` +## Compile for MacOS + +On macos the default system ncurses library is too old and can cause issues. Install a more up to date version from homebrew and link against it via adding the library path to `$LDLIBS` + + $ LDLIBS="-L/opt/homebrew/opt/ncurses/lib/" make + ## Compile for Pi The `nnn` version available as a stable Raspbian package is very out of date (v2.2), which means that the only way to get a recent version of `nnn` is to compile from source.