A couple of notes:
- It’s great that you’re using NVM, but you’re still installing node under brew, instead of letting NVM manage it. I would invert the order here and install NVM first, and not doing a brew node install.
- It’s always safest to stick with LTS versions of Node. I think
@latest
is too aggressive.