how to uninstall a package with yarn

Shell
yarn remove <package_name>
Source

Also in Shell: