yarn --version (return code: 0)
0.24.4
yarn --help (return code: -15)
Usage: yarn [command] [flags]
Options:
-h, --help output usage information
-V, --version output the version number
--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
--strict-semver
--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 [prod]
--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
--link-duplicates create hardlinks to the repeated modules in node_modules
--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
--cache-folder <path> specify a custom folder to store the yarn cache
--mutex <type>[:specifier] use a mutex to ensure only one yarn instance is executing
--no-emoji disable emoji in output
-s, --silent skip Yarn console logs, other types of logs (script output) will be printed
--proxy <host>
--https-proxy <host>
--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
Commands:
- access
- add
- add-user
- adduser
- author
- bin
- c
- cache
- check
- clean
- config
- create
- dist-tag
- dist-tags
- generate-lock-entry
- generate-lock-entry
- global
- help
- i
- import
- info
- init
- install
- isntall
- la
- licenses
- link
- list
- ll
- ln
- login
- logout
- ls
- outdated
- owner
- pack
- publish
- r
- rb
- remove
- rm
- run
- run-script
- run-script
- show
- t
- tag
- team
- tst
- un
- uninstall
- unlink
- up
- update
- upgrade
- upgrade-interactive
- upgrade-interactive
- v
- verison
- version
- versions
- view
- why
Run `yarn help COMMAND` for more information on specific commands.
Visit https://yarnpkg.com/en/docs/cli/ to learn more about Yarn.