74875/how-do-i-update-node-js
I did the following to update my npm:
npm update npm -g
But I have no idea how to update Node.js. Any suggestions?
Hello @kartik,
First update npm,
npm install -g npm stable
Then update node,
npm install -g node or npm install -g n
check after version installation,
node --version or node -v
Hope it work!!
Thank You!!
Hello @kartik, With Node.js v6 (and above) there ...READ MORE
Hello @kartik, The built-in module querystring is what you're looking ...READ MORE
Hello @kartik, This function will return you the ...READ MORE
Hello, In the error callback or $.ajax you have three ...READ MORE
Hello @kartik, If your script is called myScript.js ...READ MORE
Hello @kartik, Try this code : // Create an ...READ MORE
Hello @kartik, Try: var fs = require('fs'); var dir = ...READ MORE
Hello @kartik, Use node-inspector from any browser supporting WebSocket. Breakpoints, ...READ MORE
Hello @kartik, you can do this: fs.readFile(path.resolve(__dirname, 'settings.json'), 'UTF-8', ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.