remove a package yarn code example Example 1: yarn remove package yarn remove `package` Example 2: yarn remove yarn remove <package name>