| yarn add | Add dependencies to the project. |
| yarn bin | Get the path to a binary script. |
| yarn cache clean | Remove the shared cache files. |
| yarn config | Display the current configuration. |
| yarn config get | Read a configuration settings. |
| yarn config set | Change a configuration settings. |
| yarn config unset | Unset a configuration setting. |
| yarn dedupe | Deduplicate dependencies with overlapping ranges. |
| yarn dlx | Run a package in a temporary environment. |
| yarn exec | Execute a shell script. |
| yarn explain | Explain an error code. |
| yarn explain peer-requirements | Explain a set of peer requirements. |
| yarn info | See information related to packages. |
| yarn init | Create a new package. |
| yarn init | Create a new package. |
| yarn install | Install the project dependencies. |
| yarn link | Connect the local project to another one. |
| yarn node | Run node with the hook already setup. |
| yarn npm audit | Perform a vulnerability audit against the installed packages. |
| yarn pack | Generate a tarball from the active workspace. |
| yarn patch | Prepare a package for patching. |
| yarn patch-commit | Generate a patch out of a directory. |
| yarn rebuild | Rebuild the project's native packages. |
| yarn remove | Remove dependencies from the project. |
| yarn run | Run a script defined in the package.json. |
| yarn set resolution | Enforce a package resolution. |
| yarn set version | Lock the Yarn version used by the project. |
| yarn set version from sources | Build Yarn from master. |
| yarn stage | Add all yarn files to your vcs. |
| yarn unlink | Disconnect the local project from another one. |
| yarn unplug | Force the unpacking of a list of packages. |
| yarn up | Upgrade dependencies across the project. |
| yarn why | Display the reason why a package is needed. |