yarn command for npm uninstall code example Example 1: how to uninstall a package with yarn yarn remove <package_name> Example 2: yarn remove package yarn remove `package`