Skip to content

Instantly share code, notes, and snippets.

@Jimmy-Xu
Forked from AaronO/install-ebook-convert.md
Created November 30, 2018 04:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Jimmy-Xu/dc7e813f8ee4fd47b2dc93e2cd158d58 to your computer and use it in GitHub Desktop.
Save Jimmy-Xu/dc7e813f8ee4fd47b2dc93e2cd158d58 to your computer and use it in GitHub Desktop.

Install cask that extends the brew command :

brew install phinze/cask/brew-cask

Install calibre using cask :

brew cask install calibre

Setup $PATH for calibre (add ebook-convert and other commands to $PATH) :

export PATH="~/Applications/calibre.app/Contents/MacOS/:$PATH"

Or add it to your shell's .profile with :

echo 'export PATH=~/Applications/calibre.app/Contents/MacOS/:$PATH' >> ~/.profile

Now ebook-convert should be available :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment