Monday, May 13, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 8850  / 3 Years ago, thu, july 29, 2021, 1:32:03

I have installed node.js and the version is 0.6.12.
I am trying to update it but the efforts are in vain. Even though i have installed the latest version the Terminal still shows the version as 0.6.12 which means that the installation is not successful. Please help . The screen shot:



Terminal screenshot showing NodeJS v0.10.28 installed, v0.6.12 running


More From » 12.04

 Answers
3

Use the -g flag to install nodejs globally eg:



sudo n stable -g

[#25018] Thursday, July 29, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
eryeath

Total Points: 122
Total Questions: 121
Total Answers: 112

Location: Saint Helena
Member since Fri, Aug 26, 2022
2 Years ago
;