brew install mozjpeg make symlink from mozjpeg bin folder sudo ln -s /usr/local/Cellar/mozjpeg/3.1/bin/jpegtran /usr/local/bin/mozjpeg