manually remove yarn code example Example 1: yarn remove yarn remove <package name> Example 2: remove library using yarn remove package by yarn