Yarn Installation in Ubuntu 18.04

Configure the repository to install latest Yarn version
         $ curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
         $ echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
Install Yarn Package
          $ sudo apt-get update && sudo apt-get install --no-install-recommends yarn
Now Verify the Yarn Installation package by the below command 
         $ yarn -v
you are getting the result like
     1.13.0

Create a New React App using

    $ yarn create react-app your-app-name