| version | output the version number | no | false |
| no-default-rc | prevent Yarn from automatically detecting yarnrc and npmrc files | no | false |
| use-yarnrc | specifies a yarnrc file that Yarn should use (.yarnrc only, not .npmrc) | no | — |
| verbose | output verbose messages on internal operations | no | false |
| offline | trigger an error if any required dependencies are not available in local cache | no | false |
| prefer-offline | use network only if dependencies are not available in local cache | no | false |
| enable-pnp | enable the Plug'n'Play installation | no | false |
| disable-pnp | disable the Plug'n'Play installation | no | false |
| strict-semver | — | no | false |
| json | — | no | false |
| ignore-scripts | — | no | false |
| har | — | no | false |
| ignore-platform | — | no | false |
| ignore-engines | — | no | false |
| ignore-optional | — | no | false |
| force | — | no | false |
| skip-integrity-check | — | no | false |
| check-files | — | no | false |
| no-bin-links | — | no | false |
| flat | — | no | false |
| production | — | no | false |
| no-lockfile | don't read or generate a lockfile | no | false |
| non-interactive | do not show interactive prompts | no | true |
| pure-lockfile | don't generate a lockfile | no | false |
| frozen-lockfile | don't generate a lockfile and fail if an update is needed | no | false |
| update-checksums | update package checksums from current repository | no | false |
| link-duplicates | create hardlinks to the repeated modules in node_modules | no | false |
| link-folder | specify a custom folder to store global links | no | — |
| global-folder | specify a custom folder to store global packages | no | — |
| modules-folder | rather than installing modules into the node_modules folder relative to the cwd, output them here | no | — |
| preferred-cache-folder | specify a custom folder to store the yarn cache if possible | no | — |
| cache-folder | specify a custom folder that must be used to store the yarn cache | no | — |
| mutex | use a mutex to ensure only one yarn instance is executing | no | — |
| no-emoji | disabled emoji in output | no | false |
| silent | skip Yarn console logs, other types of logs (script output) will be printed | no | false |
| cwd | working directory to use | no | — |
| proxy | — | no | — |
| https-proxy | — | no | — |
| registry | override configuration registry | no | — |
| no-progress | disable progress bar | no | false |
| network-concurrency | maximum number of concurrent network requests | no | — |
| network-timeout | TCP timeout for network requests | no | — |
| no-scripts-prepend-node-path | don't prepend the node executable dir to the PATH in scripts | no | — |
| no-node-version-check | do not warn when using a potentially unsupported Node version | no | false |
| focus | Focus on a single workspace by installing remote copies of its sibling workspaces | no | false |
| otp | one-time password for two factor authentication | no | — |
| help | output usage information | no | false |