I made a LilyPond 2.21.1 installer for use on MacOS 10.15 from MacPorts lilypond-devel, available on the link below. It installs in /opt/lilypond/, with the program in /opt/lilypond/bin/lilypond.
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 -r /opt/lilypond https://web2.storegate.com/share/KyYa2a0 It may be that it is best to be run from a script that sets LC_CTYPE=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 And 'rm lilypond' if you do not want to keep the script.