This is great if you are fine managing npm packages, seems the only smooth way to install mermaid-cli. I'd say this is a mermaid limitation not a presenterm limitation.
Yeah, I'd love to not rely on an npm package but it's unfortunately the only way to do this out of the box.