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