Node.js version compatibility

I have install capacitor plugin in VS and when i try to build or run Android and iOS i get this error: ERR: Your Node.js version is v12.11.1. Node.js 12 reached end-of-life on 2022-04-30 and is no longer supported. Please update to the latest Node LTS version. But i use v19.9.0 in my project, i use the latest version in my MAC too.

For some reason vs code is using node 12, you’ll have to figure out why.
Are you using nvm or some other utility to install node? or how did you install node?