yarn update local package code example Example: yarn update all dependencies to latest yarn upgrade --latest