26

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?

jonrsharpe
  • 115,751
  • 26
  • 228
  • 437
ZekeC
  • 393
  • 1
  • 3
  • 13

2 Answers2

43

you have to read yarn documentation

yarn global remove @quasar/cli

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

Manuel Temple
  • 703
  • 5
  • 5
  • 3
    If you installed a global package with sudo, it might have been installed to /usr/local/bin instead. (You can check with `which `.) In that case, you will have to use sudo to uninstall it as well. – mount2010 Sep 20 '21 at 14:09
1

In Linux:

which <the package name: packageXYZ>

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

go there and delete it!

Russo
  • 2,186
  • 2
  • 26
  • 42