From 41c7e1ef52e0662dc4c454c9ae506eddc7f13368 Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Tue, 27 Oct 2020 08:33:55 +0000 Subject: [PATCH] docs(readme): add note about macos binaries --- README.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e2b99f1f..d223aa16 100644 --- a/README.md +++ b/README.md @@ -25,9 +25,8 @@ npm install node-poppler node-poppler's test scripts use yarn commands. -### Linux support - -Windows and OSX/Darwin binaries are provided with this repository. +### Linux and macOS/Darwin support +Windows and macOS/Darwin binaries are provided with this repository. For Linux users, you will need to download the `poppler-data` and `poppler-utils` binaries separately. An example of downloading the binaries on a Debian system: @@ -37,6 +36,12 @@ sudo apt-get install poppler-data sudo apt-get install poppler-utils ``` +If you do not wish to use the included macOS binaries, you can download the latest versions with [Homebrew](https://brew.sh/): + +``` +brew install poppler +``` + Once they have been installed, you will need to pass the `poppler-utils` installation directory in as parameters to an instance of the Poppler class: ```js