Yarn Remove Package

May 26, 2019

Global Package

yarn global remove PACKAGE_NAME

Remove Package by tag or version

If you add package by tag

yarn global add vuepress@next

If you remove it by yarn global remove vuepress@next you shall get the following error

[1/2] Removing module vuepress@next...
error This module isn't specified in a package.json file.
info Visit https://yarnpkg.com/en/docs/cli/global for documentation about this command.

Use yarn global remove vuepress instead.

Check available/installed packages.

yarn global list

Local Package

yarn remove PACKAGE_NAME

References:

❤️ Is this article helpful?

Buy me a coffee ☕ or support my work via PayPal to keep this space 🖖 and ad-free.

Do send some 💖 to @d_luaz or share this article.

✨ By Desmond Lua

A dream boy who enjoys making apps, travelling and making youtube videos. Follow me on @d_luaz

👶 Apps I built

Travelopy - discover travel places in Malaysia, Singapore, Taiwan, Japan.