Scroll to navigation

LILYPOND(1) User Commands LILYPOND(1)


LilyPond - manual page for LilyPond 2.22.0


lilypond [OPTION]... FILE...


Typeset music and/or produce MIDI from FILE.

LilyPond produces beautiful music notation. For more information, see


dump FORMAT,... Also as separate options:
generate PDF files (default)
generate SVG files
generate PNG files
generate PostScript files
generate Encapsulated PostScript files
set ps/pdf optimization to KEY, which is either 'size' (default), 'TeX', or 'TeX-GS'
set Scheme option SYM to VAL (default: #t); use -dhelp for help
evaluate scheme code
show this help and exit
dump \header field FIELD to file named BASENAME.FIELD
append DIR to search path
use FILE as init file
chroot to JAIL, become USER:GROUP and cd into DIR
print log messages according to LOGLEVEL, which is either NONE, ERROR, WARNING, BASIC, PROGRESS, INFO (default), or DEBUG
write output to FILE (suffix will be added) or to FOLDER, in which case the file name will be taken from the input file.
no progress, only error messages (equivalent to --loglevel=ERROR)
show version number and exit
be verbose (equivalent to --loglevel=DEBUG)
show warranty and copyright

You found a bug? Please read


Copyright © 1996--2020 by

Han-Wen Nienhuys <> Jan Nieuwenhuizen <> and others.

This program is free software. It is covered by the GNU General Public License and you are welcome to change it and/or distribute copies of it under certain conditions. Invoke as `lilypond --warranty' for more information.


The full documentation for LilyPond is maintained as a Texinfo manual. If the info and LilyPond programs are properly installed at your site, the command

info LilyPond

should give you access to the complete manual.

January 2021 LilyPond 2.22.0