how to check if node js is installed on ubuntu

Shell
node -v
Source

Also in Shell: