I’ve been trying to change default Node.js version from 6.11.1 to 8.1.4. from the console.
nvm alias default 8.1.4
But I received the message:
tee: /home/nvm/.nvm/alias/default: Permission denied
Then, I tried to sudo:
But the console said:
bash: sudo: command not found
How can I do to change default Node.js version??