Check in Ubuntu 18, I want to update to the latest version of node and npm, and then update angular cli. The issue is that I find 2 versions of pre-installed node. If I do a node -v, it pulls 6.11.14 and if I do sudo node -v (with sudo), it throws me 8.10.0
I do not quite understand what version is finally what the operating system uses for the angular functions. And what I understand the least is how to update version 6.11.14 that I have here, since I understand that the commands to update go with sudo, and if I do that, I update version 8.10.0, not 6.11.14.