How to uninstall a globally installed package with Yarn?

Viewed 20669

I installed Quasar framework using Yarn:

yarn global add @quasar/cli

However there seems to be an issue with the installation and I now need to remove the global package. I checked the Yarn docs and they have a remove command but it does not seem to be global. I know NPM allow for global remove with:

npm uninstall -g @quasar/cli

How can I do the same with Yarn?

2 Answers

In Linux:

which <the package name: packageXYZ>

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

go there and delete it!

Related