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