yes you need to install https://joplin.cozic.net/terminal/ it's not part of the joplin desktop.
once it's done, you will need to provide the profile to point on the joplin-desktop profile to use the same data (for terminal and desktop) from terminal and desktop. otherwise when you will start joplin terminal you will think you loose everything because in fact you will point to another profile 