In my case it looks like npm detects the windows path for global modules on the WSL path and use that rather than the WSL version.
It seems there is a registry setting to stop windows folders appearing on the WSL path. I might use that an set alias for things like code that I want.
Actually my normal practice is to not install NPM packages globally which is better now npx exists but it is slower than giving ‘./node_modukes/bin’ I made a rash decision to install netlify globally to save a bit of space and as its always the example. That’ll teach me