yarn uninstall global package code example
Example 1: how to uninstall a package with yarn
yarn remove <package_name>
Example 2: yarn remove
yarn remove <package name>
Example 3: yarn remove package
yarn remove `package`
Example 4: yarn add global
yarn global <add/bin/list/remove/upgrade> [--prefix]