nodejs get version code example Example 1: find node version node -v OR node --version Example 2: get local node version node --version