LilyPond

Install LilyPond on Mac

To install LilyPond just download it here:

Install Frescobaldi

Homebrew

XQuartz

To install Fresobaldi, a very cute interface to write music with LilyPond you need first on Mac the Homebrew install. Help page in the internet:
https://github.com/wbsoft/frescobaldi/wiki/How-to-install-Frescobaldi-on-Mac-OS-X
And here you find even a diskimage for Macintosh easy install:
https://github.com/wbsoft/frescobaldi/releases

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Illegal variable name.

sudo mkdir homebrew && curl -L https://github.com/Homebrew/homebrew/tarball/master | tar xz --strip 1 -C homebrew

issues many errors like follows:

share/man/: Failed to create dir 'share'Can't create 'share/man'

So you need to change the ownership of the just created 'homebrew'-folder like follows:

sudo chown mstep:staff homebrew/
curl -L https://github.com/Homebrew/homebrew/tarball/master | tar xz --strip 1 -C homebrew

Install Frescobaldi

To start Frescobaldi like other Applications, you have to link Frescobaldi from your brew install into the /Applications like follows:

cd /Applications
ln -s /usr/local/Cellar/frescobaldi/2.0.16/Frescobaldi.app Frescobaldi.app