Wyoming, NSW 2250

Install and Manage Node.js with NVM

Node.js is a popular tool for Javascript applications and frameworks, for both frontend and backend application development. Front-end frameworks such as Svelte, testing frameworks such as Cypress and backend tools like Express will require Node.js. The challenge is that often the tools installed will need a different version of Node.js. The recommended method for managing these different versions is…

Read more

Find Node.js instance on a server

To track down Nodejs processes running on a server first run netstat -lt to list the ports that applications are listening on. This may show port 31044 is listening, for example. Next, find the processes that are listening on those ports with netstat -anp 2> /dev/null | grep :31044 This may return a process id like 7392/server.js – then…

Read more