티스토리 뷰

Node.js

Upgrade node.js version

seoca 2021. 1. 23. 21:08

Check the current version of your node.js 

node -v

 

 

Delete the cache

sudo npm cache clean --force

 

 

Install n plugin

sudo npm install -g n

 

 

Install the latest version

n latest

 

Or stable version

n stable

'Node.js' 카테고리의 다른 글

Using bcrypt inside async  (0) 2020.09.25
Module in Node.js  (0) 2019.09.04