
yarn
List of commands for yarn:
-
yarn:cache:clear Clear Yarn cache$ yarn cache cleantry on your machine
-
yarn:command:run-in-dir Run a Yarn command in a different directory$ yarn --cwd ${path} ${command}try on your machine
-
yarn:package:install:from-git-repository Install package in Yarn from a Git repository$ yarn add ${git_remote_url}#${branch}try on your machine
-
yarn:package:install:with-reproducible-dependencies Yarn install with reproducible dependencies$ yarn install --frozen-lockfiletry on your machine
-
yarn:package:reinstall Force Yarn to reinstall package$ yarn upgrade ${package_name}try on your machine
-
yarn:package:update-all Update each Yarn dependency to the latest version$ yarn upgrade-interactive --latesttry on your machine
-
yarn:tldr:04b2c yarn: Install a module globally.$ yarn global add ${module_name}try on your machineexplain this command
-
yarn:tldr:1d30c yarn: Identify whether a module is a dependency and list other modules that depend upon it.$ yarn why ${module_name}try on your machineexplain this command
-
yarn:tldr:5e3ce yarn: Show why a Yarn package is installed.$ yarn-why ${package_name}try on your machineexplain this command
-
yarn:tldr:75c7a yarn: Uninstall a module and remove it from the `package.json` file.$ yarn remove ${module_name}try on your machineexplain this command
-
yarn:tldr:8a084 yarn: Install a module and save it as a dependency to the `package.json` file (add `--dev` to save as a dev dependency).$ yarn add ${module_name}@${version}try on your machineexplain this command
-
yarn:tldr:93bd5 yarn: Interactively create a `package.json` file.$ yarn inittry on your machineexplain this command
-
yarn:tldr:df5ec yarn: Install all dependencies referenced in the `package.json` file (the `install` is optional).$ yarn installtry on your machineexplain this command
-
yarn:upgrade:latest Upgrade Yarn to latest version$ npm install --global yarn
$ npm upgrade --global yarntry on your machine