How to upgrade yarn version using terminal?

后端 未结 14 2445
一生所求
一生所求 2021-01-30 05:03

How should yarn be upgraded to the latest version?

14条回答
  •  萌比男神i
    2021-01-30 05:24

    npm install -g yarn - solved the issue when nothing happened running npm update --global yarn.

    Alternative method to update yarn: curl --compressed -o- -L https://yarnpkg.com/install.sh | bash.

    Mac users with homebrew can run brew upgrade yarn.

    More details here and here.

提交回复
热议问题