how to update a yarn package code example Example: how to upgrade package yarn global yarn global add <package>@latest