Download nvm
and reload your shell.
bash
|
|
Install the latest version of node and use it.
bash
|
|
Update the package manager.
bash
|
|