Skip to content

Instantly share code, notes, and snippets.

@earljon
Last active August 14, 2017 09:59
Show Gist options
  • Save earljon/2984ec860821ca318f191a0a6a7f001a to your computer and use it in GitHub Desktop.
Save earljon/2984ec860821ca318f191a0a6a7f001a to your computer and use it in GitHub Desktop.
Install textract npm in OSX
# Requires:
# - brew
# - NodeJS
# This module is required by xpdf
brew update && brew cask install xquartz
# xpdf is required if you're converting PDF to text file
brew install xpdf
# Install globally
sudo npm install textract -g
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment