There is good explanation for linux users how to update node version step by step.
P.S type instead of sudo n stable
sudo n latest
for receive latest node version.
If you receive following error
Error: Module version mismatch. Expected 48, got 46.
You have just rebuilt npm by the following command npm rebuild
it should fix the problem.