Yarn plugin for the asdf version manager.
💡 Note: This plugin validates package authenticity via
gpg
.
This plugin should work out of the box on Linux and Mac operating systems. If one of the commands needed is unavailable, it will let you know.
asdf plugin-add yarn
asdf install yarn latest
In v2.x, Yarn introduced its own version manager which can only be configured on a per-project basis. There is no "global install" variation of the v2.x release line.
To use Yarn v2.x in your project:
Use this plugin to set the v1.x Yarn version for the project
(e.g: asdf local yarn 1.22.10
).
Use Yarn to set the v2.x Yarn version for the project
(e.g: yarn set version 2.4.1
).
After these two steps, your project will be configured to use Yarn v2.x. If you do not wish to opt in to v2.x, then step 1 is all you need.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。