How to Install node.js
1. Open Terminal
2. Enter these commands
sudo apt-get update
3. Enter your password ( Password uses to login Ubuntu OS )
sudo apt-get install python-software-properties python g++ make
4. Install Python on your system
sudo add-apt-repository ppa:chris-lea/node.js
5. Update software repository , because we add a new software package
sudo apt-get update
6. Install node.js
sudo apt-get install nodejs
Check node.js version
Enter this command
nodejs --version
No comments:
Post a Comment