Update npm and nodejs in Ubuntu.
Step 1 -> npm install -g n
Step 2 ->sudo n stable
Step 3 -> sudo npm install npm -g
Last One -> npm --version and nodejs --version
look the new version
We're a place where coders share, stay up-to-date and grow their careers.
Update npm and nodejs in Ubuntu.
Step 1 -> npm install -g n
Step 2 ->sudo n stable
Step 3 -> sudo npm install npm -g
Last One -> npm --version and nodejs --version
look the new version
Glaucia Lemos -
Aaron Garvey -
Yogesh Chavan -
johannchopin -
Discussion (0)