how to remove library from yarn code example Example 1: yarn remove package yarn remove `package` Example 2: remove library using yarn remove package by yarn