how to remove library using yarn code example Example 1: yarn remove yarn remove <package name> Example 2: yarn uninstall just do: yarn remove [package-name]