How to uninstall a globally installed package with Yarn?

you have to read yarn documentation

yarn global remove @quasar/cli

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


In Linux:

which <the package name: packageXYZ>

output: /home/user1234/.nvm/versions/node/v16.13.0/bin/packageXYZ

go there and delete it!