I had installed Yarn for some demo. Now I am trying to run a react project using npm but by default, it always changes to Yarn. I don't need Yarn now, so I want to uninstall it. I tried the following command but it did not work
sudo apt-get remove yarn && sudo apt-get purge yarn
How can I do it?