У меня nodeJs 8 установлено на ubuntun 18.04, и я удалил его с помощью:
sudo apt-get purge nodejs
затем:
asus@asus-X541UJ: ~ $ node -v
bash: / usr / bin / node: Aucun fichier ou dossier de ce type
Кому установить узел 12 Я выполнил следующие команды:
curl -sL https://deb.nodesource.com/setup_12.x | sudo bash -
// then
sudo apt install nodejs
Когда я проверяю версию, я получаю узел 8 не 12 , почему?
asus@asus-X541UJ : ~ $ node --version
v8.10.0