So, you can follow the below steps to Install React Js On Ubuntu.
First, we need to install node js in the system. if not installed node js in your system then you can follow the below URL.
Install Create-React-App Tool
Now, we need to install globally by using a create-react-app NPM tool.
npm install -g create-react-app
Create a new react project by create react app component
Now, After the complete create-react-app installation, we can also create our application using the below command.
npx create-react-app my-app
Here, You can name whatever you like for your application.
Run React js application
If you want to run the application then you can follow the below command. if you any change in your app then use the npm run build and after you can run the application.