NPM – How to install Node.js and NPM

npm

Deprecated: get_the_author_email is deprecated since version 2.8.0! Use get_the_author_meta('email') instead. in /home/cloudber/public_html/wp-includes/functions.php on line 4713

To install NPM, you have to intall Node.js first into your computer.

To install Node.js, go to this website and download by following instructions stipulated in the Node.js official website.

To check if you have Node.js installed, run this command in your terminal:

node -v

To confirm that you have npm installed you can run this command in your terminal:

npm -v

After installation of Node.js is done, you are recommended to update the NPM by running this command in your terminal:

npm install npm@latest -g

You are recommended to update the NPM from time to time.

Author: Wu Chia Chong

My main areas of interest are software architectures and software design methods, patterns, and new trends in software development.

Author: Wu Chia Chong

My main areas of interest are software architectures and software design methods, patterns, and new trends in software development.