In this article let’s discuss about How to install npm and node js ubuntu. Let’s go through the following methods without any delay.
sudo apt-get install curl curl -sL https://deb.nodesource.com/setup_13.x | sudo -E bash - sudo apt-get install nodejs # Check node version node -v # v13.9.0 # Also, check the npm version npm -v # 6.13.7
If you are facing any issues with the above approach then try the alternative that is given below. It may look similar by have a try!
Method 2 :
sudo apt update sudo apt install nodejs sudo apt install npm
Hope the above solution works.
Realted Posts : How to change size of image in github readme