[node.js] How Do I Uninstall Yarn

remove yarn

# macOS & brew
$ brew uninstall yarn


remove npm package

yarn global remove

# yarn global remove
$ sudo yarn global remove @tarojs/cli


# yarn global add 
$ sudo yarn global add @tarojs/cli


refs

https://classic.yarnpkg.com/en/docs/cli/global/

https://classic.yarnpkg.com/en/docs/cli/remove/