how to check node version

Shell
node -vnode -v

OR

node --versionnpm -v
Source

Also in Shell: