Lilyvm is a command-line program meant to ease your use of multiple lilypond versions. I wrote it in order to enable dynamic versions when running lilybin locally (my fork is currently under development)
The below documentation is mostly just copy/paste from the CLI since everything should be self explanatory. If you have any questions on how to use it, that means I didn't do my job of making it easy enough - so please file a github issue.
I wrote lilyvm with portability in mind by adhering to POSIX standards, but currently lilyvm is only available on the Linux kernel with machine names of i686 and x86_64
(both found via uname
). I chose this constraint due to my unfamiliarity
with different architectures and not wanting to test a variety unless necessary. So
if you find yourself wanting to use lilyvm on an unsupported kernel or machine
(uname nomenclature), then please file a github issue and we'll figure it out from there.
# into your home directory
curl -s https://raw.githubusercontent.com/olsonpm/lilyvm/latest/dist/install.sh | sh
# creates ~/.lilyvm
# into a directory of your choice
curl -s https://raw.githubusercontent.com/olsonpm/lilyvm/latest/dist/install.sh \
| sh -s -- --install-dir /path/to/dir
# creates /path/to/dir/.lilyvm
Upon finishing, the script will instruct you to modify your shell initialization script by adding
export PATH="<install dir>/.lilyvm/bin:${PATH}" # Adds lilyvm to your path