I mean this(yarnpkg.com/en/docs/install#altern...)
Note: Installation of Yarn via npm is generally not recommended. When installing Yarn with Node-based package managers, the package is not signed, and the only integrity check performed is a basic SHA1 hash, which is a security risk when installing system-wide apps.
For these reasons, it is highly recommended that you install Yarn through the installation method best suited to your operating system.
npm i -g yarn isn't recommended to install yarn.
npm i -g yarn
Aaaah, ok, will update that soon.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.