on new system sudo apt install nodejs not working

You have already installed NodeJS. This is indicate by the following output on your screenshot:

nodejs is already the newest version (12.22.1-1nodesource1).

Its executable is node and not nodejs.

So to check its version you have to use the below command:

node --version

to get output like

v12.22.1