1. run the below command to install nodejs
sudo apt install nodejs 2. run the below command to install npm (node package manager) sudo apt install npm
3. Next install Visual Studio code with below commands wget -q https://packages.microsoft.com/keys/microsoft.asc -O- | sudo apt-key add - sudo add-apt-repository "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" sudo apt install code
4. After that open Visual STudio Code IDEThen Add Simple React Snippets Extension5. Then Add PrettierExtension
Now you can run reactjs project on your Ubuntu machine.Good luck



No comments:
Post a Comment