Do not use the yarn package management tool if you are not ready. If you install it cheaply, you will not be able to kill npm and uninstall it. You will not be able to reinstall node.

do not use the yarn package management tool if you are not ready. If you install it cheaply, you will not be able to kill npm and uninstall it. Reinstall node

.
Npm
Mar.22,2021

found over the wall:
if yarn is still available after npm uninstall-g yarn, you can try to delete (Mac OSX) manually

rm-rf / usr/local/lib/node_modules/yarn
rm-rf / usr/local/bin/yarn yarnpkg


use the Windows "programs and Features" special uninstall interface to uninstall, yarn is in the list. In fact, 360 can also uninstall yarn. -Tsing Hui-blog Park

Menu