Ben Chuanlong Du's Blog

It is never too late to learn.

Tips on NodeJS

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Install NodeJS

Install NodeJS on Ubuntu

Upgrade NodeJS

  1. It is suggested that you use n (instead of nvm) to manage different versions of NodeJS.
    n lts
    n latest
    

References

https://davidwalsh …

Install NodeJS on Ubuntu

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

wajig install nodejs npm
sudo ln -s /usr/bin/nodejs /usr/bin/node

Notice that it is necessary to create a symbolic link for node, as many Node.js tools use …