This is a LilyPond 2.21.81 installer, latest unstable release, for use on MacOS 11, made from MacPorts lilypond-devel, available on the link below [1]. May not work on earlier MacOS versions.
It installs in /opt/lilypond/, with the program in /opt/lilypond/bin/lilypond, and /opt/lilypond/bin/ contains other LilyPond programs. If you have already something installed in this directory, it may be prudent to remove it first. This can be done by the command sudo rm -rf /opt/lilypond 1. https://web2.storegate.com/share/kW9ZCfZ It may be the case that 'lilypond' is best to be run from a script that sets LC_CTYPE=en_US.UTF-8 (which otherwise on MacOS is LC_CTYPE=UTF-8). It can be created and installed as follows: In Terminal write (^D is <control>D): % cat > lilypond export LC_CTYPE=en_US.UTF-8 export LANG=en_US.UTF-8 exec /opt/lilypond/bin/lilypond "$@“ ^D % chmod a+x lilypond % sudo -s cp lilypond /usr/local/bin/lilypond The program can then be called by 'lilypond' in Terminal, as /usr/local/bin/ is in the system searchpath. And do 'rm lilypond' if you do not want to keep the local copy of the script.