Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?

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 :)

@nateberkopec

This comment has been minimized.

Show comment Hide comment
@nateberkopec

nateberkopec Jan 7, 2016

As of 2016, it looks like you no longer have to edit your PATH.

As of 2016, it looks like you no longer have to edit your PATH.

@maiorano84

This comment has been minimized.

Show comment Hide comment
@maiorano84

maiorano84 May 26, 2017

As of 2017, it looks like you no longer need to run brew install phinze/cask/brew-cask.

brew cask install calibre should be enough to gain access to the ebook-convert command on modern OSX.

As of 2017, it looks like you no longer need to run brew install phinze/cask/brew-cask.

brew cask install calibre should be enough to gain access to the ebook-convert command on modern OSX.

@sinameraji

This comment has been minimized.

Show comment Hide comment
@sinameraji

sinameraji May 24, 2018

Great! thanks

Great! thanks

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