npm's mmdc shadowed the ~/.local/bin wrapper that passes puppeteer the --no-sandbox config, so nvim's mermaid rendering failed on Ubuntu 24.04. No other ~/.local/bin wrapper shares a name with an npm-global binary. Brew still sits ahead of both: it has its own bat, herdr and python3.14, and moving it would change which of those runs.