Install Yarn Package Manager

node.js

Yarn is a package manager for JavaScript like npm. It is commonly used for managing dependencies for Node.js applications, but it can also be used for front-end development with frameworks like Rmeact, Angular, and Vue.js. To install the Yarn package manager on ubuntu, run: curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg –dearmor | sudo tee /usr/share/keyrings/yarnkey.gpg >/dev/null … Read more

Installing nvm (Node.js Version Manager)

nvm is a Node Version Manager, which allows you to run multiple versions of Node.js To install nvm, run To list all available node versions, run To install a particular Node.js version, run To activate/select a Node.js version, use To set the default node,.js version, run to list all installed Node.js versions The versions with … Read more

pm2 process manager for node.js

Auto Start pm2 on bootHow to host static site using pm2 pm2 is a process manager for node.js applications. It is similar to forever. http://pm2.keymetrics.io First you need to install npm, on Ubuntu/Debian, run To install pm2, run Start an Application Start an Application with name Start npm Start the Application in Cluster mode with … Read more