install yarn
2023-02-26 19:27:03 Corepackからinstallする形式に変わってた $ corepack enable
The preferred way to manage Yarn is through Corepack, a new binary shipped with all Node.js releases starting from 16.10. It acts as an intermediary between you and Yarn, and lets you use different package manager versions across multiple projects without having to check-in the Yarn binary anymore.
$ sudo corepack enable
References
/icons/hr.icon
$ npm install -g yarn
/icons/hr.icon
code:sh
# レポジトリをlinuxに信用させる
# yarnのrepositoryを追加する
$ sudo apt update
$ sudo apt install yarn
nvmを使うとき:
$ sudo apt install --no-install-recommends yarn