Користувальницькькі налаштування

Налаштування сайту


programming:javascript:nodejsinstall

Розбіжності

Тут показані розбіжності між вибраною ревізією та поточною версією сторінки.

Посилання на цей список змін

Порівняння попередніх версій Попередня ревізія
Наступна ревізія
Попередня ревізія
programming:javascript:nodejsinstall [2018/03/16 17:51]
charon
programming:javascript:nodejsinstall [2018/05/11 18:29] (поточний)
charon
Рядок 4: Рядок 4:
   wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash   wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash
   # see https://github.com/creationix/nvm#install-script for latest version available   # see https://github.com/creationix/nvm#install-script for latest version available
-  # now view LTS version available 
-  nvm ls-remote --lts 
   # choose latest LTS, like Carbon, and install latest version of this LTS   # choose latest LTS, like Carbon, and install latest version of this LTS
-  nvm install --lts=carbon+  nvm install --lts 
 +  nvm alias default lts/*
   # update NPM to latest stable version   # update NPM to latest stable version
   npm install npm@latest -g   npm install npm@latest -g
-  npm cache clean+
  
 ===== Update nodejs ===== ===== Update nodejs =====
 +this is not enough tested
   # show currently installed version of NodeJS - remember it!   # show currently installed version of NodeJS - remember it!
   nvm current    nvm current 
programming/javascript/nodejsinstall.1521215511.txt.gz · Востаннє змінено: 2018/03/16 17:51 повз charon