You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

self-update.md 722 B

3 years ago
1234567891011121314151617
  1. ---
  2. id: docs_cli_self_update
  3. guide: docs_cli
  4. layout: guide
  5. ---
  6. <p class="lead">Updates Yarn to the latest version.</p>
  7. ##### `yarn self-update` <a class="toc" id="toc-yarn-self-update" href="#toc-yarn-self-update"></a>
  8. _**Important**: `self-update` is not available. See [policies](https://yarnpkg.com/lang/en/docs/cli/policies/#toc-policies-set-version) for enforcing versions within a project_
  9. In order to update your version of Yarn, you can run one of the following commands:
  10. - `npm install --global yarn` - if you've installed Yarn via npm (recommended)
  11. - `curl --compressed -o- -L https://yarnpkg.com/install.sh | bash` if you're on Unix
  12. - otherwise, check the docs of the installer you've used to install Yarn

js yarn包管理组件依赖分析

Contributors (1)