yarn self-update
Updates Yarn to the latest version.
yarn self-update
Note: self-update
is currently not available, which means updates must be done manually. See issue #1139 for details.
This command is used to update Yarn to the latest available version.