-s, --silent | Skip Yarn console logs |
--no-default-rc | Prevent Yarn from automatically detecting yarnrc and npmrc files |
--use-yarnrc <path> | Specifies a yarnrc file that Yarn should use (.yarnrc only, not .npmrc) (default: ) |
--verbose | Output verbose messages on internal operations |
--offline | Trigger an error if any required dependencies are not available in local cache |
--prefer-offline | Use network only if dependencies are not available in local cache |
--enable-pnp, --pnp | Enable the Plug'n'Play installation |
--json | Format Yarn log messages as lines of JSON |
--ignore-scripts | Don't run lifecycle scripts |
--har | Save HAR output of network traffic |
--ignore-platform | Ignore platform checks |
--ignore-engines | Ignore engines check |
--ignore-optional | Ignore optional dependencies |
--force | Install and build packages even if they were built before, overwrite lockfile |
--skip-integrity-check | Run install without checking if node_modules is installed |
--check-files | Install will verify file tree of packages for consistency |
--no-bin-links | Don't generate bin links when setting up packages |
--flat | Only allow one version of a package |
--prod, --production | Instruct Yarn to ignore NODE_ENV and take its production-or-not status from this flag instead |
--no-lockfile | Don't read or generate a lockfile |
--pure-lockfile | Don't generate a lockfile |
--frozen-lockfile | Don't generate a lockfile and fail if an update is needed |
--update-checksums | Update package checksums from current repository |
--link-duplicates | Create hardlinks to the repeated modules in node_modules |
--link-folder <path> | Specify a custom folder to store global links |
--global-folder <path> | Specify a custom folder to store global packages |
--modules-folder <path> | Rather than installing modules into the node_modules folder relative to the cwd, output them here |
--preferred-cache-folder <path> | Specify a custom folder to store the yarn cache if possible |
--cache-folder <path> | Specify a custom folder that must be used to store the yarn cache |
--mutex <type[:specifier]> | Use a mutex to ensure only one yarn instance is executing |
--emoji <arg> | Enables emoji in output |
--cwd <cwd> | Working directory to use |
--proxy, --https-proxy <host> | |
--registry <url> | Override configuration registry |
--no-progress | Disable progress bar |
--network-concurrency <number> | Maximum number of concurrent network requests |
--network-timeout <milliseconds> | TCP timeout for network requests |
--non-interactive | Do not show interactive prompts |
--scripts-prepend-node-path | Prepend the node executable dir to the PATH in scripts |
--no-node-version-check | Do not warn when using a potentially unsupported Node version |
--focus | Focus on a single workspace by installing remote copies of its sibling workspaces |
--otp <otpcode> | One-time password for two factor authentication |
-h, --help | Output usage information |
--major | Auto-increment major version number |
--minor | Auto-increment minor version number |
--patch | Auto-increment patch version number |
--premajor | Auto-increment premajor version number |
--preminor | Auto-increment preminor version number |
--prepatch | Auto-increment prepatch version number |
--prerelease | Auto-increment prerelease version number |
--preid <preid> | Add a custom identifier to the prerelease |
--message <message> | Message |
--no-git-tag-version | No git tag version |
--no-commit-hooks | Bypass git hooks when committing new version |
--access <access> | Access |
--tag <tag> | Tag |