'Node is not defined' upon installing Node.js

I’m reading this article on installing Node.js on Mac. When I try typing node -v into the terminal, I’m getting ReferenceError: node is not defined back. I followed all the steps so not sure why this is?