yarn set version from sources — Yarn CLI reference

Build Yarn from source and link it to the current project

Docs/Reference/CLI/set/version/from/sources

yarn set version from sources

Build Yarn from source and link it to the current project

yarn set version from sources

This command clones or updates a ZPM repository, builds a fresh Yarn binary, and links the current project to that binary through Yarn Switch.

#--pathboolean

Directory where the repository should be cloned and built

#--repositoryboolean

Git repository to clone

#--branchboolean

Branch, ref, or pull request number to build

#--dry-run, -nboolean

Build the binary without linking the project to it

#--force, -fboolean

Recreate the checkout even if a local clone already exists