yarn uninstall all packages code example Example 1: yarn remove yarn remove <package name> Example 2: yarn uninstall just do: yarn remove [package-name]