Joplin 2.10.18 does not open after update from 2.10.17

Starting joplin via terminal by using:

joplin --debug --log-level debug

brings this error: zsh: command not found: joplin