10

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
  • 107,083
  • 22
  • 201
  • 376
ZekeC
  • 234
  • 1
  • 2
  • 12

2 Answers2

21

you have to read yarn documentation

yarn global remove @quasar/cli

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

Manuel Temple
  • 467
  • 3
  • 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
  • 1,518
  • 1
  • 17
  • 34