Global Package
yarn global remove PACKAGE_NAMERemove Package by tag or version
If you add package by tag
yarn global add vuepress@nextIf 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 listLocal Package
yarn remove PACKAGE_NAMEReferences: